Skip to content

Commit

Permalink
Merge pull request #2536 from AndBible/Change-the-way-window-buttons-…
Browse files Browse the repository at this point in the history
…show-when-scrolling

Don't show the window buttons when scrolling
  • Loading branch information
tuomas2 authored Mar 9, 2023
2 parents 422e557 + de518c7 commit 2b5e920
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ class BibleGestureListener(private val mainBibleActivity: MainBibleActivity) : S
// New scroll event
scrollEv = MotionEvent.obtain(e1)
}
ABEventBus.post(BibleView.BibleViewTouched(onlyTouch = true))
if (e2.eventTime - scrollEv.eventTime > 1000) {
// Too slow motion
scrollEv = MotionEvent.obtain(e2)
Expand Down

0 comments on commit 2b5e920

Please sign in to comment.