mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
4cd5ca7b7f
commit
fcf3d949f8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user