#551: Shift+Spacebar plays every frame by default

Shift+Spacebar set Skip to 1, so it played every other frame out of the box. It now plays every
frame, like Spacebar. Skip still works when it is set.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
Kristian Myram
2026-10-12 19:19:00 +02:00
co-authored by Claude Haiku 5.5
parent 470ea7a3af
commit 0852511c3f
2 changed files with 11 additions and 4 deletions
+2 -1
View File
@@ -118,7 +118,8 @@ fn playback_follows_the_shortcut_options() {
h.step();
assert!(h.state().playback.playing);
assert_eq!(h.state().playback.shortcut, PreviewShortcut::ShiftSpacebar);
assert_eq!(h.state().playback.plan.unwrap().step, 2);
// Every frame by default (#551): Skip is 0 until the user sets it.
assert_eq!(h.state().playback.plan.unwrap().step, 1);
}
#[test]