1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

feat(web): Left hand navigation for memories (#11913)

This commit is contained in:
Carles Albàs Boix 2024-08-22 16:40:15 +02:00 committed by GitHub
parent c24cc8a33b
commit 296bbeb2fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,7 +153,9 @@
<svelte:window <svelte:window
use:shortcuts={[ use:shortcuts={[
{ shortcut: { key: 'ArrowRight' }, onShortcut: () => canGoForward && toNext() }, { shortcut: { key: 'ArrowRight' }, onShortcut: () => canGoForward && toNext() },
{ shortcut: { key: 'd' }, onShortcut: () => canGoForward && toNext() },
{ shortcut: { key: 'ArrowLeft' }, onShortcut: () => canGoBack && toPrevious() }, { shortcut: { key: 'ArrowLeft' }, onShortcut: () => canGoBack && toPrevious() },
{ shortcut: { key: 'a' }, onShortcut: () => canGoBack && toPrevious() },
{ shortcut: { key: 'Escape' }, onShortcut: () => goto(AppRoute.PHOTOS) }, { shortcut: { key: 'Escape' }, onShortcut: () => goto(AppRoute.PHOTOS) },
]} ]}
/> />