mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Show scene cover image in player preview (#5666)
This was accidentally removed in #5633
This commit is contained in:
parent
0296b63be5
commit
3f90e57861
1 changed files with 6 additions and 0 deletions
|
|
@ -697,6 +697,12 @@ export const ScenePlayer: React.FC<IScenePlayerProps> = ({
|
||||||
const player = getPlayer();
|
const player = getPlayer();
|
||||||
if (!player) return;
|
if (!player) return;
|
||||||
|
|
||||||
|
if (scene.paths.screenshot) {
|
||||||
|
player.poster(scene.paths.screenshot);
|
||||||
|
} else {
|
||||||
|
player.poster("");
|
||||||
|
}
|
||||||
|
|
||||||
function loadMarkers() {
|
function loadMarkers() {
|
||||||
const loadMarkersAsync = async () => {
|
const loadMarkersAsync = async () => {
|
||||||
const markerData = scene.scene_markers.map((marker) => ({
|
const markerData = scene.scene_markers.map((marker) => ({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue