Skip to main content

Module motion_loop

Module motion_loop 

Source
Expand description

RequestAnimationFrame / interval driver for spring-smoothed UI motion.

Functionsยง

spawn_ui_motion_loop
Non-desktop fallback.
step_mode_pulse_spring
Advance the toolbar pulse spring; returns a scale bump in [0.0, 0.045].
step_selection_spring
Advance a selection-highlight spring toward 1.0 when selected, 0.0 otherwise.
trigger_mode_pulse
Impulse the presentation-mode toolbar spring (one-shot pulse on mode switch).