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

This commit is contained in:
Carles Albàs Boix authored and GitHub committed 2024-08-22 14:40:15 +00:00
1 parent c24cc8a33b
commit 296bbeb2fc
1 file changed
+2
@@ -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) },
]}
/>