mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-02-16 11:31:46 +01:00
Prevent cases of both drawer and page change occurring on diagonal fling
This commit is contained in:
parent
90ac44d54b
commit
f8cd74912c
@ -712,10 +712,12 @@ class MainActivity : SimpleActivity(), FlingListener {
|
||||
}
|
||||
|
||||
override fun onFlingRight() {
|
||||
mIgnoreUpEvent = true
|
||||
home_screen_grid.prevPage(redraw = true)
|
||||
}
|
||||
|
||||
override fun onFlingLeft() {
|
||||
mIgnoreUpEvent = true
|
||||
home_screen_grid.nextPage(redraw = true)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user