Fix sizing labels and clippy type complexity

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas 2026-10-09 13:53:59 -04:00
parent 3e993df4d1
commit 2e24a68dbd
1 changed files with 1 additions and 1 deletions

View File

@ -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,