fix(viewport): preserve tiled pane controls

This commit is contained in:
Hakan Seven committed 2026-07-29 17:21:57 +03:00
1 parent 8e2b67bfa5
commit cd1378e6b2
4 files changed
+40 -7

No files matched your search

+3
View File
@@ -218,6 +218,7 @@ impl OpenCADStudio {
)
.width(Fill)
.height(Fill)
.min_size(scene.model_pane_min_px())
.spacing(crate::scene::TILE_DIVIDER_PX);
stack![size_probe, shaders].width(Fill).height(Fill).into()
};
@@ -236,6 +237,7 @@ impl OpenCADStudio {
})
.width(Fill)
.height(Fill)
.min_size(scene.model_pane_min_px())
.spacing(crate::scene::TILE_DIVIDER_PX)
.on_resize(6.0, Message::PaneResized)
.into(),
@@ -782,6 +784,7 @@ impl OpenCADStudio {
.into(),
])
.report_width0(self.render_bar_w.clone())
.report_width0(tab.scene.model_pane_min_reporter())
.into();
// Pin the bar to the active model tile's top-left corner so it
// follows the active panel in a tiled layout.