Files
materialcraft/crates
eliets2 446cf794cf Snap toolbar slider drags to round values
The main parameter slider already snaps to round values, but the toolbar slider does not, so the same drag cannot land on exact values there.

Apply the same aim-radius smart_aim calculation used by slider to bar_slider, and add a drag test through the existing slider harness that aims near a round value on a bar slider.

Test: bar_slider_drag_reaches_exact_round_values failed before the change and passes after.
2026-11-06 19:27:34 +02:00
..