Skip to content

UI: preview slide animations on the editor canvas - #571

Merged
h-a-n-a-s-h-i merged 1 commit into
storytold:mainfrom
NikitkaRa:cursor/animation-preview-d175
Oct 14, 2026
Merged

h-a-n-a-s-h-i merged 1 commit into
storytold:mainfrom
NikitkaRa:cursor/animation-preview-d175

Conversation

@NikitkaRa

Copy link
Copy Markdown
Contributor

Summary

  • Animations › Preview and Animation Pane › Play All play the current slide's animations on the editor canvas, using the same timeline state as the slide show.
  • Playback stops after the sequence plus a short hold, on Escape, or on a click. Leaving or editing the slide stops it too.
  • Transitions › Preview still opens the full-screen show, because a transition needs two slides.

Test plan

  • A fade entrance is hidden at the start of the preview clock and visible once it has played. A by-paragraph build shows the first paragraph before the next one.
  • Preview does not open the slide show. The canvas redraws while the clock runs. Escape, a click, leaving the slide, and the end of the sequence all stop it.
  • On macOS, the sample deck's "What we'll cover" slide: clicking Animations › Preview at about 0.26s draws only the first bullet. At about 1.7s the later bullets are on the canvas and the ribbon is still there.
  • cargo xtask ci: fmt and clippy passed. The only test failure is the known local symbol_font_characters_draw_in_the_sym_font (Wingdings 2 claims a Symbol character; craft-fonts manifest missing on that machine). Asset, layering, and wasm checks passed separately.

Animations › Preview and Animation Pane › Play All play the current
slide on the canvas instead of opening the slide show. Escape or a
click stops playback. Transitions › Preview still opens the show.

Co-authored-by: Cursor <cursoragent@cursor.com>
@h-a-n-a-s-h-i
h-a-n-a-s-h-i merged commit 79b3e36 into storytold:main Oct 14, 2026
h-a-n-a-s-h-i pushed a commit that referenced this pull request Oct 14, 2026
… on land-r5 (#644 #652 #655 #702 #571 #539 #674 #648 #697 #479 #369 #368)

# Conflicts:
#	crates/ui-egui/src/canvas.rs
#	crates/ui-egui/src/ribbon.rs
@echelon

echelon commented Oct 14, 2026

Copy link
Copy Markdown
Member

Thank you for this contribution, @NikitkaRa! It has landed on main and will ship in the next DeckCraft release.

If you haven't already, please come join us on Discord: https://discord.gg/artcraft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants