scroll two pages at a time in double page mode
This commit is contained in:
parent
48bddd7aa7
commit
3b27c1bfb8
1 changed files with 2 additions and 3 deletions
|
@ -5,7 +5,6 @@
|
|||
|
||||
Fo sho:
|
||||
- Show a progress bar when buffering
|
||||
- scroll two pages at a time in double page mode
|
||||
- page controls
|
||||
- thumbnail browser
|
||||
- chrome frame
|
||||
|
@ -259,7 +258,7 @@ function ComicBook(id, srcs, opts) {
|
|||
*/
|
||||
ComicBook.prototype.drawNextPage = function () {
|
||||
if (pointer + 1 < pages.length) {
|
||||
pointer += 1;
|
||||
pointer += (options.displayMode === "single") ? 1 : 2;
|
||||
this.drawPage();
|
||||
}
|
||||
};
|
||||
|
@ -271,7 +270,7 @@ function ComicBook(id, srcs, opts) {
|
|||
*/
|
||||
ComicBook.prototype.drawPrevPage = function () {
|
||||
if (pointer > 0) {
|
||||
pointer -= 1;
|
||||
pointer -= (options.displayMode === "single") ? 1 : 2;
|
||||
this.drawPage();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue