Fix context menu in tab bar
This commit is contained in:
parent
3d5b903f78
commit
3de72f8366
10 changed files with 100 additions and 30 deletions
|
@ -625,7 +625,7 @@ impl Render for PanelButtons {
|
|||
&& panel.position_is_valid(position, cx)
|
||||
{
|
||||
let panel = panel.clone();
|
||||
menu = menu.entry(position.to_label(), move |cx| {
|
||||
menu = menu.entry(position.to_label(), None, move |cx| {
|
||||
panel.set_position(position, cx);
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue