mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
add tagger shortcut (#6261)
This commit is contained in:
parent
5e34df7b7b
commit
b2c8f09585
2 changed files with 7 additions and 0 deletions
|
|
@ -84,11 +84,17 @@ export const ListViewOptions: React.FC<IListViewOptionsProps> = ({
|
|||
onSetDisplayMode(DisplayMode.Wall);
|
||||
}
|
||||
});
|
||||
Mousetrap.bind("v t", () => {
|
||||
if (displayModeOptions.includes(DisplayMode.Tagger)) {
|
||||
onSetDisplayMode(DisplayMode.Tagger);
|
||||
}
|
||||
});
|
||||
|
||||
return () => {
|
||||
Mousetrap.unbind("v g");
|
||||
Mousetrap.unbind("v l");
|
||||
Mousetrap.unbind("v w");
|
||||
Mousetrap.unbind("v t");
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
| `v g` | Set view to grid |
|
||||
| `v l` | Set view to list |
|
||||
| `v w` | Set view to wall |
|
||||
| `v t` | Set view to tagger |
|
||||
| `+` | Increase zoom slider |
|
||||
| `-` | Decrease zoom slider |
|
||||
| `←` | Previous page of results |
|
||||
|
|
|
|||
Loading…
Reference in a new issue