Allow Backspace to delete the selected annotation
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user