Skip to content

Commit

Permalink
fix: use Delete instead of Escape as Backspace alias
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Jun 25, 2021
1 parent 40b1cd5 commit cd04968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/EventsTrackers/KeysListenerTracker.tsx
Expand Up @@ -258,7 +258,7 @@ function KeysListenerTracker() {
if (num > 0) {
keysPreferencesListenerHandler(e, num);
} else {
if (['Escape', 'Esc', 'Backspace'].includes(e.key) && type) {
if (['Delete', 'Backspace'].includes(e.key) && type) {
deleteHandler(type, { activeKey });
} else {
toolsListenerHandler(e);
Expand Down

0 comments on commit cd04968

Please sign in to comment.