mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-09 21:26:14 +03:00
commit
c066480e31
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user