fix: count repeated frame steps and retain the forward decoder cursor
This commit is contained in:
@@ -159,7 +159,7 @@ final class PlayerModel: ObservableObject {
|
||||
func stepFrame(_ direction: Int32) {
|
||||
guard canStepFrame, let handle else { return }
|
||||
let accepted = player_step_frame(handle, direction)
|
||||
if accepted { seekPending = true }
|
||||
if accepted { seekPending = false }
|
||||
commandError = accepted ? nil : "Could not queue the frame step. Please try again."
|
||||
revealControls()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user