mirror of
https://github.com/stashapp/stash.git
synced 2026-01-16 21:22:33 +01:00
Add keyboard shortcut to toggle video looping in scene player (#3902)
* Use shift+L to toggle video looping in scene player
This commit is contained in:
parent
3e810cf8b1
commit
76a4bfa49a
2 changed files with 7 additions and 0 deletions
|
|
@ -81,6 +81,12 @@ function handleHotkeys(player: VideoJsPlayer, event: videojs.KeyboardEvent) {
|
|||
break;
|
||||
}
|
||||
|
||||
// toggle player looping with shift+l
|
||||
if (event.shiftKey && event.which === 76) {
|
||||
player.loop(!player.loop());
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@
|
|||
| `↑` | Increase volume 10% |
|
||||
| `↓` | Decrease volume 10% |
|
||||
| `m` | Toggle mute |
|
||||
| `Shift + l` | Toggle player looping |
|
||||
|
||||
### Scene Markers tab shortcuts
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue