From 2e24a68dbd1119036fde5070555f473f65755907 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Fri, 9 Oct 2026 13:53:59 -0400 Subject: [PATCH] Fix sizing labels and clippy type complexity Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/right.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/right.rs b/crates/ui-egui/src/right.rs index 365812c..138fd76 100644 --- a/crates/ui-egui/src/right.rs +++ b/crates/ui-egui/src/right.rs @@ -507,7 +507,7 @@ fn layout(app: &mut FigApp, ui: &mut Ui, doc: &Document, sel: &[NodeId]) { let sh = common(doc, sel, |n| n.child_layout.sizing_h); let sv = common(doc, sel, |n| n.child_layout.sizing_v); row(ui, 32.0, |ui| { - for (axis, cur, key) in [("W", sh, "sizingH"), ("H", sv, "sizingV")] { + for (cur, key) in [(sh, "sizingH"), (sv, "sizingV")] { let label = cur.map(|s| s.label()).unwrap_or("Mixed"); let resp = widgets::dropdown( ui,