Fixed contrast in project panel and scrollbar
co-authored-by: nate <nate@zed.dev>
This commit is contained in:
@@ -105,9 +105,8 @@ impl View for ProjectDiagnosticsEditor {
|
||||
}
|
||||
|
||||
fn focus_in(&mut self, _: AnyViewHandle, cx: &mut ViewContext<Self>) {
|
||||
dbg!("Focus in");
|
||||
if dbg!(cx.is_self_focused()) && dbg!(!self.path_states.is_empty()) {
|
||||
dbg!(cx.focus(&self.editor));
|
||||
if cx.is_self_focused() && !self.path_states.is_empty() {
|
||||
cx.focus(&self.editor);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user