mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
remove unused selection copy cut paste events
This commit is contained in:
parent
e1797b2008
commit
fd3d828067
@ -64,9 +64,6 @@ var Events = {
|
|||||||
SELECTION_CREATED: 'SELECTION_CREATED',
|
SELECTION_CREATED: 'SELECTION_CREATED',
|
||||||
SELECTION_MOVE_REQUEST: 'SELECTION_MOVE_REQUEST',
|
SELECTION_MOVE_REQUEST: 'SELECTION_MOVE_REQUEST',
|
||||||
SELECTION_DISMISSED: 'SELECTION_DISMISSED',
|
SELECTION_DISMISSED: 'SELECTION_DISMISSED',
|
||||||
SELECTION_COPY: 'SELECTION_COPY',
|
|
||||||
SELECTION_CUT: 'SELECTION_CUT',
|
|
||||||
SELECTION_PASTE: 'SELECTION_PASTE',
|
|
||||||
|
|
||||||
SHOW_NOTIFICATION: 'SHOW_NOTIFICATION',
|
SHOW_NOTIFICATION: 'SHOW_NOTIFICATION',
|
||||||
HIDE_NOTIFICATION: 'HIDE_NOTIFICATION',
|
HIDE_NOTIFICATION: 'HIDE_NOTIFICATION',
|
||||||
|
@ -17,9 +17,6 @@
|
|||||||
$.subscribe(Events.SELECTION_CREATED, $.proxy(this.onSelectionCreated_, this));
|
$.subscribe(Events.SELECTION_CREATED, $.proxy(this.onSelectionCreated_, this));
|
||||||
$.subscribe(Events.SELECTION_DISMISSED, $.proxy(this.onSelectionDismissed_, this));
|
$.subscribe(Events.SELECTION_DISMISSED, $.proxy(this.onSelectionDismissed_, this));
|
||||||
$.subscribe(Events.SELECTION_MOVE_REQUEST, $.proxy(this.onSelectionMoved_, this));
|
$.subscribe(Events.SELECTION_MOVE_REQUEST, $.proxy(this.onSelectionMoved_, this));
|
||||||
$.subscribe(Events.SELECTION_COPY, this.copy.bind(this));
|
|
||||||
$.subscribe(Events.SELECTION_CUT, this.cut.bind(this));
|
|
||||||
$.subscribe(Events.SELECTION_PASTE, this.paste.bind(this));
|
|
||||||
|
|
||||||
var shortcuts = pskl.service.keyboard.Shortcuts;
|
var shortcuts = pskl.service.keyboard.Shortcuts;
|
||||||
pskl.app.shortcutService.registerShortcut(shortcuts.SELECTION.DELETE, this.onDeleteShortcut_.bind(this));
|
pskl.app.shortcutService.registerShortcut(shortcuts.SELECTION.DELETE, this.onDeleteShortcut_.bind(this));
|
||||||
|
Loading…
Reference in New Issue
Block a user