Pane context menus & focus shenanigans

Co-Authored-By: Conrad Irwin <conrad@zed.dev>
This commit is contained in:
Julia 2023-11-30 14:01:09 -05:00
parent 21dfe58ad9
commit d516ae0d8a
3 changed files with 176 additions and 133 deletions

View file

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