if player is at the end go back to 0 on play

This commit is contained in:
Fabien Servant 2024-10-21 08:12:03 +02:00 committed by Candice Bentéjac
parent 11c28cb979
commit eef1e6414e

View file

@ -82,7 +82,7 @@ FloatingPane {
onPlayingChanged: {
if (!playing) {
updateReconstructionView()
} else if (playing && (frame + 1 >= frameRange + 1)) {
} else if (playing && (frame + 1 >= frameRange.max + 1)) {
frame = frameRange.min
}
viewer.playback(playing)