Merge pull request #1764 from zed-industries/gpui-events
Eliminate dispatch_event on Element trait
This commit is contained in:
@@ -2659,7 +2659,7 @@ impl View for Workspace {
|
||||
.named("workspace")
|
||||
}
|
||||
|
||||
fn on_focus_in(&mut self, view: AnyViewHandle, cx: &mut ViewContext<Self>) {
|
||||
fn focus_in(&mut self, view: AnyViewHandle, cx: &mut ViewContext<Self>) {
|
||||
if cx.is_self_focused() {
|
||||
cx.focus(&self.active_pane);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user