mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[chore] Deprecate TapForward/TapBackward (#4689)
Also fix previous page action in gesture manager.
This commit is contained in:
@@ -31,7 +31,7 @@ describe("Readerpaging module", function()
|
||||
readerui.onEndOfBook = function()
|
||||
called = true
|
||||
end
|
||||
paging:onPagingRel(1)
|
||||
paging:onGotoViewRel(1)
|
||||
assert.is.truthy(called)
|
||||
readerui.onEndOfBook = nil
|
||||
UIManager:quit()
|
||||
@@ -64,8 +64,8 @@ describe("Readerpaging module", function()
|
||||
readerui.onEndOfBook = function()
|
||||
called = true
|
||||
end
|
||||
paging:onPagingRel(1)
|
||||
paging:onPagingRel(1)
|
||||
paging:onGotoViewRel(1)
|
||||
paging:onGotoViewRel(1)
|
||||
assert.is.truthy(called)
|
||||
readerui.onEndOfBook = nil
|
||||
UIManager:quit()
|
||||
|
||||
Reference in New Issue
Block a user