fmt
This commit is contained in:
parent
e59c8e9d61
commit
bafc1d922e
2 changed files with 4 additions and 2 deletions
|
@ -7180,6 +7180,7 @@ impl View for Editor {
|
|||
}
|
||||
|
||||
fn focus_in(&mut self, _: AnyViewHandle, cx: &mut ViewContext<Self>) {
|
||||
dbg!("Editor Focus in");
|
||||
if cx.is_self_focused() {
|
||||
let focused_event = EditorFocused(cx.handle());
|
||||
cx.emit(Event::Focused);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue