Merge branch 'fix-zoom-level'

This commit is contained in:
jdescottes 2014-05-18 17:33:25 +02:00
commit 93f3526f4b

View File

@ -63,8 +63,8 @@
$.subscribe(Events.FRAME_SIZE_CHANGED, $.proxy(this.onFrameSizeChanged_, this));
pskl.app.shortcutService.addShortcut('0', this.resetZoom_.bind(this));
pskl.app.shortcutService.addShortcut('+', this.increaseZoom_.bind(this));
pskl.app.shortcutService.addShortcut('-', this.decreaseZoom_.bind(this));
pskl.app.shortcutService.addShortcut('+', this.increaseZoom_.bind(this, 1));
pskl.app.shortcutService.addShortcut('-', this.decreaseZoom_.bind(this, 1));
window.setTimeout(this.afterWindowResize_.bind(this), 100);
};