mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Merge branch 'fix-zoom-level'
This commit is contained in:
commit
93f3526f4b
@ -63,8 +63,8 @@
|
|||||||
$.subscribe(Events.FRAME_SIZE_CHANGED, $.proxy(this.onFrameSizeChanged_, this));
|
$.subscribe(Events.FRAME_SIZE_CHANGED, $.proxy(this.onFrameSizeChanged_, this));
|
||||||
|
|
||||||
pskl.app.shortcutService.addShortcut('0', this.resetZoom_.bind(this));
|
pskl.app.shortcutService.addShortcut('0', this.resetZoom_.bind(this));
|
||||||
pskl.app.shortcutService.addShortcut('+', this.increaseZoom_.bind(this));
|
pskl.app.shortcutService.addShortcut('+', this.increaseZoom_.bind(this, 1));
|
||||||
pskl.app.shortcutService.addShortcut('-', this.decreaseZoom_.bind(this));
|
pskl.app.shortcutService.addShortcut('-', this.decreaseZoom_.bind(this, 1));
|
||||||
|
|
||||||
window.setTimeout(this.afterWindowResize_.bind(this), 100);
|
window.setTimeout(this.afterWindowResize_.bind(this), 100);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user