fix(properties): scope asym-scale opt-out per tab

props_asym_scale was app-global keyed by raw handle values, but fresh documents restart numbering at seed 1, leaking one tab's unchecked Uniform box into another tab reusing the value. The set moves to DocumentTab; all uses tab-scoped. Also removes a dead destructure left in overlay.rs. Test: asym_scale_opt_out_does_not_leak_across_tabs with handle-reuse premise assert (RED first). Full suite: 2025 passed / 0 failed / 25 ignored, zero warnings.
This commit is contained in:
Karim Jerbi committed 2026-10-10 16:14:22 +01:00
1 parent 6ad3183b3d
commit d1da26feb6
5 files changed
+50 -10

No files matched your search

-1
View File
@@ -2961,7 +2961,6 @@ fn draw_axes(
axes: (Vec3, Vec3, Vec3),
bg_luminance: f32,
) {
let (ax, ay, az) = axes;
let axis_stroke = |r: f32, g: f32, b: f32| canvas::Stroke {
width: 1.5,
style: canvas::Style::Solid(Color { r, g, b, a: 0.85 }),