mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 23:53:25 +00:00
prevent default on undo-redo
This commit is contained in:
@@ -565,6 +565,7 @@
|
|||||||
} else {
|
} else {
|
||||||
dbUtils.undo();
|
dbUtils.undo();
|
||||||
}
|
}
|
||||||
|
e.preventDefault();
|
||||||
} else if ((e.key === 'Backspace' || e.key === 'Delete') && (e.metaKey || e.ctrlKey)) {
|
} else if ((e.key === 'Backspace' || e.key === 'Delete') && (e.metaKey || e.ctrlKey)) {
|
||||||
if (!targetInput) {
|
if (!targetInput) {
|
||||||
if (e.shiftKey) {
|
if (e.shiftKey) {
|
||||||
|
Reference in New Issue
Block a user