mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Fix max loop duration not working (#604)
This commit is contained in:
@@ -107,7 +107,7 @@ export class ScenePlayerImpl extends React.Component<
|
|||||||
}
|
}
|
||||||
|
|
||||||
private shouldRepeat(scene: GQL.SceneDataFragment) {
|
private shouldRepeat(scene: GQL.SceneDataFragment) {
|
||||||
const maxLoopDuration = this.state?.config.maximumLoopDuration ?? 0;
|
const maxLoopDuration = this.props?.config?.maximumLoopDuration ?? 0;
|
||||||
return (
|
return (
|
||||||
!!scene.file.duration &&
|
!!scene.file.duration &&
|
||||||
!!maxLoopDuration &&
|
!!maxLoopDuration &&
|
||||||
|
|||||||
Reference in New Issue
Block a user