forked from 1b-agent/opencadstudio-upstream
style(ribbon): cargo fmt after PR213 merge
PR #213 introduced rustfmt drift in tip_style / swatch indentation and an inline if-expression in two previously fmt-clean files. Format pass only; no behaviour change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
0c264fc49d
commit
f88c2f8327
2 files changed
+26
-16
No files matched your search
@@ -871,9 +871,11 @@ impl Ribbon {
|
||||
button(
|
||||
row![
|
||||
checkmark,
|
||||
text(name.clone())
|
||||
.size(11)
|
||||
.color(if is_sel { LABEL_ON } else { LABEL_OFF }),
|
||||
text(name.clone()).size(11).color(if is_sel {
|
||||
LABEL_ON
|
||||
} else {
|
||||
LABEL_OFF
|
||||
}),
|
||||
]
|
||||
.spacing(4)
|
||||
.align_y(iced::Center),
|
||||
|
||||
Reference in new issue
Block a user