mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Show scene cover image in player preview (#5666)
This was accidentally removed in #5633
This commit is contained in:
@@ -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) => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user