Issue #287 : Move shortcut definition to tool instances

This commit is contained in:
jdescottes
2015-10-10 12:59:02 +02:00
parent c11e0d5d8d
commit 2c75daecb1
22 changed files with 60 additions and 48 deletions

View File

@ -27,6 +27,7 @@
$.subscribe(Events.DIALOG_DISPLAY, this.onDialogDisplayEvent_.bind(this));
$.subscribe(Events.DIALOG_HIDE, this.onDialogHideEvent_.bind(this));
// TODO : JD : should be moved to a main controller
pskl.app.shortcutService.registerShortcut('alt+P', this.onDialogDisplayEvent_.bind(this, null, 'create-palette'));
this.dialogWrapper_.classList.add('animated');