Allow Backspace to delete the selected annotation
Template tests / tests (push) Successful in 1m39s
Template tests / tests (pull_request) Successful in 1m39s

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
2026-06-13 18:24:33 -05:00
co-authored by Claude Sonnet 4.6
parent 602e70a7e1
commit b39fe553b2
+1 -1
View File
@@ -1835,7 +1835,7 @@ class GuideEditor {
} }
return; return;
} }
if (e.key === 'Delete' && this.selectedAnnotationId) { if ((e.key === 'Delete' || e.key === 'Backspace') && this.selectedAnnotationId) {
e.preventDefault(); e.preventDefault();
if (this.canvas.deleteSelected()) this.saveStepDebounced(); if (this.canvas.deleteSelected()) this.saveStepDebounced();
return; return;