mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
feat(web): Left hand navigation for memories (#11913)
This commit is contained in:
parent
c24cc8a33b
commit
296bbeb2fc
1 changed files with 2 additions and 0 deletions
|
@ -153,7 +153,9 @@
|
|||
<svelte:window
|
||||
use:shortcuts={[
|
||||
{ shortcut: { key: 'ArrowRight' }, onShortcut: () => canGoForward && toNext() },
|
||||
{ shortcut: { key: 'd' }, onShortcut: () => canGoForward && toNext() },
|
||||
{ shortcut: { key: 'ArrowLeft' }, onShortcut: () => canGoBack && toPrevious() },
|
||||
{ shortcut: { key: 'a' }, onShortcut: () => canGoBack && toPrevious() },
|
||||
{ shortcut: { key: 'Escape' }, onShortcut: () => goto(AppRoute.PHOTOS) },
|
||||
]}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue