style: apply cargo fmt across workspace

This commit is contained in:
Karim Jerbi committed 2026-10-11 03:14:29 +01:00
1 parent 85710e5454
commit 9cf9ff2c5c
531 files changed
+57740 -33906

No files matched your search

+12 -14
View File
@@ -948,20 +948,18 @@ impl OpenCADStudio {
// Either direction can add/remove a layout: undoing
// an insert removes it (`before` is `None`), redoing
// re-inserts it — so both sides must be inspected.
layout_touched |= matches!(
entry.before,
Some(codec::objects::ObjectType::Layout(_))
) || matches!(
entry.after,
Some(codec::objects::ObjectType::Layout(_))
);
scale_touched |= matches!(
entry.before,
Some(codec::objects::ObjectType::Scale(_))
) || matches!(
entry.after,
Some(codec::objects::ObjectType::Scale(_))
);
layout_touched |=
matches!(entry.before, Some(codec::objects::ObjectType::Layout(_)))
|| matches!(
entry.after,
Some(codec::objects::ObjectType::Layout(_))
);
scale_touched |=
matches!(entry.before, Some(codec::objects::ObjectType::Scale(_)))
|| matches!(
entry.after,
Some(codec::objects::ObjectType::Scale(_))
);
if let Some(object) = value {
self.tabs[i]
.scene