mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 15:43:25 +00:00
fix save all shortcut
This commit is contained in:
@@ -156,7 +156,7 @@
|
|||||||
} else if (e.key === 'd' && (e.metaKey || e.ctrlKey)) {
|
} else if (e.key === 'd' && (e.metaKey || e.ctrlKey)) {
|
||||||
duplicateSelectedFiles();
|
duplicateSelectedFiles();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
} else if (e.key === 's' && (e.metaKey || e.ctrlKey)) {
|
} else if ((e.key === 's' || e.key == 'S') && (e.metaKey || e.ctrlKey)) {
|
||||||
if (e.shiftKey) {
|
if (e.shiftKey) {
|
||||||
exportAllFiles();
|
exportAllFiles();
|
||||||
} else {
|
} else {
|
||||||
@@ -165,7 +165,6 @@
|
|||||||
e.preventDefault();
|
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 (e.shiftKey) {
|
if (e.shiftKey) {
|
||||||
console.log('removeAllFiles');
|
|
||||||
removeAllFiles();
|
removeAllFiles();
|
||||||
} else {
|
} else {
|
||||||
removeSelectedFiles();
|
removeSelectedFiles();
|
||||||
|
Reference in New Issue
Block a user