[Viewer2D] Only reset index of currentFrame if the currentFrame is after max of frameRange

This commit is contained in:
Aurore LAFAURIE 2024-07-26 12:12:31 +02:00
parent 41eac5eae1
commit 2d9a03fb3b

View file

@ -348,7 +348,8 @@ FocusScope {
} else {
root.source = ""
root.sequence = getSequence()
currentFrame = frameRange.min
if (currentFrame > frameRange.max)
currentFrame = frameRange.min
}
}