mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
add tagger shortcut (#6261)
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user