Skip to content

Commit

Permalink
gsuiBlocksManager: bind Backspace to Delete
Browse files Browse the repository at this point in the history
  • Loading branch information
mr21 committed Dec 10, 2022
1 parent 555241e commit ee43167
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gsuiBlocksManager/gsuiBlocksManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ class gsuiBlocksManager {

switch ( e.key ) {
case "Delete":
case "Backspace":
if ( this.#blcsSelected.size ) {
this.#blcsSelected.forEach( ( blc, id ) => blcsEditing.set( id, blc ) );
this.#status = "deleting";
Expand Down

0 comments on commit ee43167

Please sign in to comment.