effectcraft/crates/ui-egui
bflatastic f936b1ff9c Timeline: Alt+wheel zooms out to the whole comp (#158)
Alt+wheel's zoom took its lower limit from the current zoom rather than
the comp's fit and kept the ruler's start where the pointer had put it,
so on long comps it stopped zoomed out on a slice from the middle of the
comp (0:05:02–0:10:27 of a 10-minute comp). The = / - zoom used a
different limit again.

Both now go through set_zoom: the limit is the zoom that fits the comp
(fit_pps, the same formula the ruler and the zoom slider use), and
reaching it switches the ruler back to fitting the whole comp from 0.

Test: alt_wheel_zooms_out_until_the_whole_comp_shows (real Alt+wheel
events on a 10-minute comp); it failed before (Some(1.135) px/s, start
still offset).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 13:09:18 +07:00
..
examples Merge main into menu-parity branch; point AE menu entries at main's real commands 2026-10-02 00:12:01 -04:00
src Timeline: Alt+wheel zooms out to the whole comp (#158) 2026-10-07 13:09:18 +07:00
tests Timeline: Alt+wheel zooms out to the whole comp (#158) 2026-10-07 13:09:18 +07:00
Cargo.toml M13.11: scriptui concave fills, real images, wasm cfg gating 2026-10-03 10:28:56 -04:00