[chore] Deprecate TapForward/TapBackward (#4689)

Also fix previous page action in gesture manager.
This commit is contained in:
Frans de Jonge
2019-03-01 16:05:03 +01:00
committed by GitHub
parent 87b6217696
commit ba4bf7243d
5 changed files with 31 additions and 39 deletions

View File

@@ -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()