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…
Reference in New Issue