Skip to content

Commit

Permalink
Skip initial timelapse step by undo points
Browse files Browse the repository at this point in the history
Instead of by individual messages, to avoid catching the canvas when it
has a transparent background.
  • Loading branch information
askmeaboutlo0m committed Sep 18, 2023
1 parent e634cf1 commit 582c459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/drawpile-timelapse/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ fn timelapse_recording(
let mut initial = true;
loop {
let pos = if initial {
pe.step_playback(1)
pe.skip_playback(1)
} else {
pe.play_playback(interval)
}?;
Expand Down

0 comments on commit 582c459

Please sign in to comment.