Start getting pane focus code ported
This commit is contained in:
parent
d551b41aae
commit
591299b4c7
3 changed files with 93 additions and 27 deletions
|
@ -289,6 +289,7 @@ 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