mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-06-05 21:59:15 +02:00
avoid dragging the All Apps Fragment while dragging some icon
This commit is contained in:
@ -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())
|
||||
}
|
||||
|
Reference in New Issue
Block a user