mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +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) {
|
||||
const maxLoopDuration = this.state?.config.maximumLoopDuration ?? 0;
|
||||
const maxLoopDuration = this.props?.config?.maximumLoopDuration ?? 0;
|
||||
return (
|
||||
!!scene.file.duration &&
|
||||
!!maxLoopDuration &&
|
||||
|
||||
Reference in New Issue
Block a user