1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-24 04:46:50 +02:00

feat(web): add ctrl+a / ctrl+d shortcuts to select / deselect all assets (#8105)

* feat(web): use ctrl+a / ctrl+d to select / deselect all assets

* fix(web): use shortcutList for ctrl+a / ctrl+d

* fix(web): remove useless get()

* feat(web): asset interaction store can now select many assets at once
This commit is contained in:
Ethan Margaillan
2024-03-21 13:14:13 +01:00
committed by GitHub
parent b588a87d4a
commit 4de0b2f44e
6 changed files with 66 additions and 35 deletions

View File

@ -5,7 +5,7 @@
import CircleIconButton from '../elements/buttons/circle-icon-button.svelte';
import { fly } from 'svelte/transition';
import { mdiClose } from '@mdi/js';
import { isSelectAllCancelled } from '$lib/stores/assets.store';
import { isSelectingAllAssets } from '$lib/stores/assets.store';
export let showBackButton = true;
export let backIcon = mdiClose;
@ -31,7 +31,7 @@
};
const handleClose = () => {
$isSelectAllCancelled = true;
$isSelectingAllAssets = false;
dispatch('close');
};