Fixing bounceback bug
This commit is contained in:
parent
e07730b465
commit
3c957e61e2
|
@ -221,7 +221,7 @@ function moveReader(to_next, move_page) {
|
||||||
IS_PAGE_MODE = true
|
IS_PAGE_MODE = true
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (CURRENT_PAGE > 1) {
|
else if (!to_next && CURRENT_PAGE > 1) {
|
||||||
moveReaderDisplayToPage(CURRENT_PAGE - 1)
|
moveReaderDisplayToPage(CURRENT_PAGE - 1)
|
||||||
IS_PAGE_MODE = true
|
IS_PAGE_MODE = true
|
||||||
}
|
}
|
||||||
|
@ -266,7 +266,7 @@ function moveReader(to_next, move_page) {
|
||||||
IS_PAGE_MODE = false
|
IS_PAGE_MODE = false
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (CURRENT_ZOOM > 0) {
|
else if (!to_next && CURRENT_ZOOM > 0) {
|
||||||
moveReaderDisplayToZoom(CURRENT_ZOOM - 1)
|
moveReaderDisplayToZoom(CURRENT_ZOOM - 1)
|
||||||
IS_PAGE_MODE = false
|
IS_PAGE_MODE = false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue