mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
27057fdb1b
This allows us to focus the query editor of the project search when deploying it. Previously, a complex interplay between focus events was preventing this from working in an intuitive way. What happened previously: - We'd activate the project search, which enqueued a focus effect for the project search view - We'd focus the query editor, which enqueued an effect - We'd process the focus effect for the search view, which would enqueue an effect to transfer focus to the results editor - We'd process the effect to focus the query editor - We'd process the effect to focus the results editor Now... - We activate the project search pane item, enqueuing a focus effect for the project search itself - We focus the query editor and *remove* the previous pending focus change effect - We process the focus effect |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |