Fix context menu in tab bar
This commit is contained in:
@@ -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);
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user