From fcf3d949f8758738989a4288858f62773ab36c57 Mon Sep 17 00:00:00 2001 From: gedoor Date: Fri, 8 Oct 2021 21:11:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/book/read/TextActionMenu.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/TextActionMenu.kt b/app/src/main/java/io/legado/app/ui/book/read/TextActionMenu.kt index fcb969ecb..882c1ec5a 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/TextActionMenu.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/TextActionMenu.kt @@ -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,