Merge branch 'gpxstudio:main' into interpolation

This commit is contained in:
mbof 2024-08-24 11:21:46 -07:00 committed by GitHub
commit 0925c2d12d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -499,12 +499,14 @@
dbUtils.undo();
}
} else if ((e.key === 'Backspace' || e.key === 'Delete') && (e.metaKey || e.ctrlKey)) {
if (e.shiftKey) {
dbUtils.deleteAllFiles();
} else {
dbUtils.deleteSelection();
if (!targetInput) {
if (e.shiftKey) {
dbUtils.deleteAllFiles();
} else {
dbUtils.deleteSelection();
}
e.preventDefault();
}
e.preventDefault();
} else if (e.key === 'a' && (e.metaKey || e.ctrlKey)) {
if (!targetInput) {
selectAll();