mirror of
https://github.com/stashapp/stash.git
synced 2026-01-03 14:12:52 +01:00
Fix max loop duration not working (#604)
This commit is contained in:
parent
ef8cba804f
commit
d168df1ad6
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ export class ScenePlayerImpl extends React.Component<
|
|||
}
|
||||
|
||||
private shouldRepeat(scene: GQL.SceneDataFragment) {
|
||||
const maxLoopDuration = this.state?.config.maximumLoopDuration ?? 0;
|
||||
const maxLoopDuration = this.props?.config?.maximumLoopDuration ?? 0;
|
||||
return (
|
||||
!!scene.file.duration &&
|
||||
!!maxLoopDuration &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue