Correct dock menu names

This commit is contained in:
Conrad Irwin 2024-01-05 09:58:07 -07:00
parent 22c3eb7d5f
commit fa73cf3983

View File

@ -651,9 +651,13 @@ impl Render for PanelButtons {
&& panel.position_is_valid(position, cx)
{
let panel = panel.clone();
menu = menu.entry(position.to_label(), None, move |cx| {
panel.set_position(position, cx);
})
menu = menu.entry(
format!("Dock {}", position.to_label()),
None,
move |cx| {
panel.set_position(position, cx);
},
)
}
}
menu