Merge pull request #1764 from zed-industries/gpui-events

Eliminate dispatch_event on Element trait
This commit is contained in:
Nathan Sobo
2022-10-18 15:24:13 -06:00
committed by GitHub
56 changed files with 861 additions and 1245 deletions
+1 -1
View File
@@ -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 {