Remove on_click_out handler from context menu
Add 'delay_cancel()' method and on_down handler to relevant buttons
This commit is contained in:
parent
6ffa6afd20
commit
5366631173
6 changed files with 79 additions and 27 deletions
|
@ -87,6 +87,7 @@ impl TerminalPanel {
|
|||
}
|
||||
})
|
||||
},
|
||||
|_, _| {},
|
||||
None,
|
||||
))
|
||||
.with_child(Pane::render_tab_bar_button(
|
||||
|
@ -100,6 +101,7 @@ impl TerminalPanel {
|
|||
Some(("Toggle Zoom".into(), Some(Box::new(workspace::ToggleZoom)))),
|
||||
cx,
|
||||
move |pane, cx| pane.toggle_zoom(&Default::default(), cx),
|
||||
|_, _| {},
|
||||
None,
|
||||
))
|
||||
.into_any()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue