mirror of
https://github.com/stashapp/stash.git
synced 2026-02-26 09:12:23 +01:00
Fix marker form start time not being set when abLoop disabled
This commit is contained in:
parent
e289199911
commit
0164d7ad31
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ export const SceneMarkerForm: React.FC<ISceneMarkerForm> = ({
|
|||
const end = opts?.end;
|
||||
const hasAbLoop = Number.isFinite(start);
|
||||
|
||||
if (hasAbLoop) {
|
||||
if (opts?.enabled && hasAbLoop) {
|
||||
const current = Math.round(getPlayerPosition() ?? 0);
|
||||
const rawEnd =
|
||||
Number.isFinite(end) && (end as number) > 0 ? (end as number) : null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue