mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-25 17:01:07 +01:00
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.