hide file

This commit is contained in:
vcoppe
2024-06-19 18:11:05 +02:00
parent 40a6eb5192
commit 06bc49901d
5 changed files with 71 additions and 10 deletions

View File

@@ -34,7 +34,8 @@
exportSelectedFiles,
triggerFileInput,
createFile,
loadFiles
loadFiles,
toggleSelectionVisibility
} from '$lib/stores';
import { selectAll, selection } from '$lib/components/file-list/Selection';
import { derived } from 'svelte/store';
@@ -337,6 +338,9 @@
} else if (e.key === 'l' && (e.metaKey || e.ctrlKey)) {
$verticalFileView = !$verticalFileView;
e.preventDefault();
} else if (e.key === 'h' && (e.metaKey || e.ctrlKey)) {
toggleSelectionVisibility();
e.preventDefault();
} else if (e.key === 'F1') {
switchBasemaps();
e.preventDefault();