removed color enhancement keyboard shortcut
This commit is contained in:
parent
a38ff55da0
commit
efa87a5d64
1 changed files with 2 additions and 8 deletions
|
@ -78,10 +78,7 @@ function ComicBook(id, srcs, opts) {
|
|||
keyboard: {
|
||||
next: 78,
|
||||
previous: 80,
|
||||
control: {
|
||||
color: 69,
|
||||
toolbar: 84
|
||||
}
|
||||
toolbar: 84
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -765,12 +762,9 @@ function ComicBook(id, srcs, opts) {
|
|||
if (e.keyCode === options.keyboard.next) { side = "right"; }
|
||||
|
||||
// display controls
|
||||
if (e.keyCode === options.keyboard.control.toolbar) {
|
||||
if (e.keyCode === options.keyboard.toolbar) {
|
||||
ComicBook.prototype.toggleToolbar();
|
||||
}
|
||||
if (e.keyCode === options.keyboard.control.color) {
|
||||
ComicBook.prototype.toggleControl("color");
|
||||
}
|
||||
break;
|
||||
default:
|
||||
throw new ComicBookException(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue