fix moving notes by arrow keys
This commit is contained in:
parent
d102578b54
commit
4fb368bebb
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class SelectedState extends ActiveState {
|
||||||
[KEY_DOWN]: [0, delta],
|
[KEY_DOWN]: [0, delta],
|
||||||
[KEY_RIGHT]: [delta, 0],
|
[KEY_RIGHT]: [delta, 0],
|
||||||
};
|
};
|
||||||
if (Object.prototype.hasOwnProperty.call(offsetMap, e.witch)) {
|
if (Object.prototype.hasOwnProperty.call(offsetMap, e.which)) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.stopImmediatePropagation();
|
e.stopImmediatePropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
Reference in a new issue