Skip to content

Commit

Permalink
chore(keyboard): remove legacy key binding exports
Browse files Browse the repository at this point in the history
BREAKING CHANGES:

* Key binding exports exposed by `KeyboardBindings` removed in
  favor of `KeyboardUtil` utilities
  • Loading branch information
nikku committed Aug 16, 2022
1 parent 92acdee commit 2ad6519
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/features/keyboard/KeyboardBindings.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ import {

var LOW_PRIORITY = 500;

export var KEYCODE_C = 67;
export var KEYCODE_V = 86;
export var KEYCODE_Y = 89;
export var KEYCODE_Z = 90;

export var KEYS_COPY = [ 'c', 'C', KEYCODE_C ];
export var KEYS_PASTE = [ 'v', 'V', KEYCODE_V ];
export var KEYS_REDO = [ 'y', 'Y', KEYCODE_Y ];
export var KEYS_UNDO = [ 'z', 'Z', KEYCODE_Z ];


/**
* Adds default keyboard bindings.
Expand Down

0 comments on commit 2ad6519

Please sign in to comment.