This commit is contained in:
gedoor 2021-10-08 21:11:51 +08:00
parent 4cd5ca7b7f
commit fcf3d949f8

View File

@ -105,7 +105,7 @@ class TextActionMenu(private val context: Context, private val callBack: CallBac
) {
if (expandTextMenu) {
when {
startTopY > 300 -> {
startTopY > 500 -> {
showAtLocation(
view,
Gravity.BOTTOM or Gravity.START,
@ -127,7 +127,7 @@ class TextActionMenu(private val context: Context, private val callBack: CallBac
)
val popupHeight = contentView.measuredHeight
when {
startBottomY > 300 -> {
startBottomY > 500 -> {
showAtLocation(
view,
Gravity.TOP or Gravity.START,