forked from 1b-agent/opencadstudio-upstream
fix(viewport): preserve tiled pane controls
This commit is contained in:
1 parent
8e2b67bfa5
commit
cd1378e6b2
4 files changed
+40
-7
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user