mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Focus scene player after loading new scene (#2758)
* Focus scene player after loading new scene
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user