Fix mouse clicks on remote-open-folder UI (#19851)
Also change Zed's standard style to use `.track_focus(&self.focus_handle(cx))`, instead of `.track_focus(&self.focus_handle)`, to catch these kinds of errors more easily in the future. Release Notes: - N/A --------- Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
parent
826d83edfe
commit
80f89059aa
20 changed files with 28 additions and 28 deletions
|
@ -327,7 +327,7 @@ impl Render for ProjectSearchView {
|
|||
div()
|
||||
.flex_1()
|
||||
.size_full()
|
||||
.track_focus(&self.focus_handle)
|
||||
.track_focus(&self.focus_handle(cx))
|
||||
.child(self.results_editor.clone())
|
||||
} else {
|
||||
let model = self.model.read(cx);
|
||||
|
@ -365,7 +365,7 @@ impl Render for ProjectSearchView {
|
|||
.size_full()
|
||||
.justify_center()
|
||||
.bg(cx.theme().colors().editor_background)
|
||||
.track_focus(&self.focus_handle)
|
||||
.track_focus(&self.focus_handle(cx))
|
||||
.child(
|
||||
h_flex()
|
||||
.size_full()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue