Pane context menus & focus shenanigans
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
This commit is contained in:
parent
21dfe58ad9
commit
d516ae0d8a
3 changed files with 176 additions and 133 deletions
|
@ -290,7 +290,6 @@ impl<T: ToolbarItemView> ToolbarItemViewHandle for View<T> {
|
|||
}
|
||||
|
||||
fn focus_changed(&mut self, pane_focused: bool, cx: &mut WindowContext) {
|
||||
println!("focus changed, pane_focused: {pane_focused}");
|
||||
self.update(cx, |this, cx| {
|
||||
this.pane_focus_update(pane_focused, cx);
|
||||
cx.notify();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue