Fix context menu in tab bar

This commit is contained in:
Antonio Scandurra 2023-12-22 10:23:27 +01:00
parent 3d5b903f78
commit 3de72f8366
10 changed files with 100 additions and 30 deletions

View file

@ -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);
})
}