Every panel group shows the panel menu button with the menu icon, as production did

This commit is contained in:
bflatastic
2026-11-24 15:04:56 +07:00
parent 19bc0d4249
commit 8a292b4ec9
+9 -3
View File
@@ -1311,9 +1311,15 @@ pub(crate) fn show(app: &mut VectorcraftApp, ui: &mut egui::Ui, keeps_tools: boo
let hand_over = app.dock_rt.hand_over.take();
let output = {
let mut panels = Panels { app: &mut *app };
let mut area = DockArea::new("Dock", Bind::bound(&mut workspace), &specs, &mut panels, DockConfig::default())
.hide(hide)
.flyout(Bind::bound(&mut flyout));
let mut area = DockArea::new(
"Dock",
Bind::bound(&mut workspace),
&specs,
&mut panels,
DockConfig::default().panel_menu_always(true).panel_menu_icon(IconId::new("menu")),
)
.hide(hide)
.flyout(Bind::bound(&mut flyout));
if let Some((panel, grab)) = hand_over {
area = area.continue_move((panel, grab));
}