From ee431678dbab7b2978726040df27f13d9b46b06e Mon Sep 17 00:00:00 2001 From: mr21 Date: Sat, 10 Dec 2022 20:17:15 +0100 Subject: [PATCH] gsuiBlocksManager: bind Backspace to Delete https://github.com/gridsound/daw/issues/83 --- gsuiBlocksManager/gsuiBlocksManager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gsuiBlocksManager/gsuiBlocksManager.js b/gsuiBlocksManager/gsuiBlocksManager.js index 6232e0f3..8b8b2b6a 100644 --- a/gsuiBlocksManager/gsuiBlocksManager.js +++ b/gsuiBlocksManager/gsuiBlocksManager.js @@ -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";