Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

Re-land of the shell branches on the renamed ids (#6): the occurrence Move window goes through frame.rs like every window

bherbruckbe095132b9be
diff --git a/crates/ui-egui/src/browser.rs b/crates/ui-egui/src/browser.rs
index cb3f24d001..9fc145cbaf 100644
--- a/crates/ui-egui/src/browser.rs
+++ b/crates/ui-egui/src/browser.rs
@@ -1372,7 +1372,7 @@ fn occurrence_panel(app: &mut SolveApp, ui: &mut egui::Ui) {
let mut open = true;
let mut action: Option<&str> = None;
let before = (m.translate, m.angles);
- crate::frame::window(ctx, format!("Move: {name}"), crate::frame::Width::Normal)
+ crate::frame::window(&ctx, format!("Move: {name}"), crate::frame::Width::Normal)
.id(egui::Id::new("sc_occ_move"))
.pivot(egui::Align2::LEFT_TOP)
.default_pos(panel_pos(app))