mirror of
https://github.com/stashapp/stash.git
synced 2026-01-30 12:02:55 +01:00
Focus scene player after loading new scene (#2758)
* Focus scene player after loading new scene
This commit is contained in:
parent
c21c334553
commit
4b7ef76321
2 changed files with 2 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
### 🐛 Bug fixes
|
||||
* Fix scene player losing focus when playing next/previous scene. ([#2758](https://github.com/stashapp/stash/pull/2758))
|
||||
* Fix UI crash when % character used in tag names. ([#2757](https://github.com/stashapp/stash/pull/2757))
|
||||
* Fix keyboard shortcuts not working after selecting an object. ([#2750](https://github.com/stashapp/stash/pull/2750))
|
||||
* Fix UI crash on session timeout. ([#2755](https://github.com/stashapp/stash/pull/2755))
|
||||
|
|
|
|||
|
|
@ -558,6 +558,7 @@ export const ScenePlayer: React.FC<IScenePlayerProps> = ({
|
|||
interactiveClient.setLooping(looping);
|
||||
|
||||
player.load();
|
||||
player.focus();
|
||||
|
||||
if ((player as any).vttThumbnails?.src)
|
||||
(player as any).vttThumbnails?.src(scene?.paths.vtt);
|
||||
|
|
|
|||
Loading…
Reference in a new issue