forked from 1b-agent/opencadstudio-upstream
style: apply cargo fmt
This commit is contained in:
1 parent
07f4d1713f
commit
4bbac4c090
113 files changed
+3667
-1487
No files matched your search
+16
-14
@@ -381,20 +381,22 @@ impl OpenCADStudio {
|
||||
};
|
||||
match id {
|
||||
crate::ui::dock::PanelId::Properties => tab.properties.view(width, chrome),
|
||||
crate::ui::dock::PanelId::GraphicAttributes => crate::ui::window::graphic_attributes::view(
|
||||
&self.graphic_attributes,
|
||||
&tab.scene,
|
||||
&tab.properties,
|
||||
width,
|
||||
chrome,
|
||||
self.dock
|
||||
.location(id)
|
||||
.map_or(crate::app::config::DockSide::Right, |(side, _)| side),
|
||||
matches!(
|
||||
self.color_pick_target,
|
||||
Some((crate::app::ColorPickTarget::Gradient(_), _))
|
||||
),
|
||||
),
|
||||
crate::ui::dock::PanelId::GraphicAttributes => {
|
||||
crate::ui::window::graphic_attributes::view(
|
||||
&self.graphic_attributes,
|
||||
&tab.scene,
|
||||
&tab.properties,
|
||||
width,
|
||||
chrome,
|
||||
self.dock
|
||||
.location(id)
|
||||
.map_or(crate::app::config::DockSide::Right, |(side, _)| side),
|
||||
matches!(
|
||||
self.color_pick_target,
|
||||
Some((crate::app::ColorPickTarget::Gradient(_), _))
|
||||
),
|
||||
)
|
||||
}
|
||||
crate::ui::dock::PanelId::BlockPalette => {
|
||||
crate::ui::window::block_palette::view(&self.block_palette, width, chrome)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user