Fixed contrast in project panel and scrollbar
co-authored-by: nate <nate@zed.dev>
This commit is contained in:
parent
fb2f17e5c9
commit
5c31c84c90
7 changed files with 97 additions and 81 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue