mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-02-17 03:50:56 +01:00
avoid dragging the All Apps Fragment while dragging some icon
This commit is contained in:
parent
07c167b5b3
commit
5a797b1248
@ -283,7 +283,7 @@ class MainActivity : SimpleActivity(), FlingListener {
|
||||
if (isWidgetsFragmentExpanded()) {
|
||||
val newY = mWidgetsFragmentY - diffY
|
||||
widgets_fragment.y = Math.min(Math.max(0f, newY), mScreenHeight.toFloat())
|
||||
} else {
|
||||
} else if (mLongPressedIcon == null) {
|
||||
val newY = mAllAppsFragmentY - diffY
|
||||
all_apps_fragment.y = Math.min(Math.max(0f, newY), mScreenHeight.toFloat())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user