fit width button
This commit is contained in:
parent
7760c0470e
commit
a8b72623bb
1 changed files with 8 additions and 0 deletions
|
@ -189,6 +189,14 @@ function ComicBook(id, srcs, opts) {
|
|||
ComicBook.prototype.zoom(scale + 0.1);
|
||||
})
|
||||
)
|
||||
.append(
|
||||
$(document.createElement("button"))
|
||||
.text("fit width")
|
||||
.click(function(){
|
||||
options.zoomMode = "fitWidth"
|
||||
ComicBook.prototype.drawPage();
|
||||
})
|
||||
)
|
||||
.append("<p id='cb-status'></p>"),
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue