mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-06-05 21:59:15 +02:00
allow long pressing the home screen only if All Apps fragment isnt shown
This commit is contained in:
@ -121,6 +121,10 @@ class MainActivity : SimpleActivity(), FlingListener {
|
||||
}
|
||||
|
||||
fun homeScreenLongPressed(x: Float, y: Float) {
|
||||
if (all_apps_fragment.y != mScreenHeight.toFloat()) {
|
||||
return
|
||||
}
|
||||
|
||||
main_holder.performHapticFeedback()
|
||||
|
||||
home_screen_popup_menu_anchor.x = x
|
||||
|
Reference in New Issue
Block a user