[fix, SDL] Time: fix crash when scrolling in continuous mode (#9314)

Introduced with #8999.

Fixes #9311.
This commit is contained in:
zwim
2022-07-09 22:47:10 +02:00
committed by GitHub
parent 7366a031d6
commit 22fe3933c3
2 changed files with 4 additions and 3 deletions

View File

@@ -349,7 +349,7 @@ function ReaderPaging:onSwipe(_, ges)
-- We did some panning but released after a short amount of time,
-- so this gesture ended up being a Swipe - and this swipe was
-- not handled by the other modules (so, not opening the menus).
-- Do as :onPanRelese() and ignore this swipe.
-- Do as :onPanRelease() and ignore this swipe.
self:onPanRelease() -- no arg, so we know there we come from here
return true
else