mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-28 21:32:39 +00:00
Hide completions when using the mouse
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
474ec2199c
commit
101add8da3
1 changed files with 2 additions and 0 deletions
|
@ -867,6 +867,8 @@ impl Editor {
|
|||
}
|
||||
|
||||
fn select(&mut self, Select(phase): &Select, cx: &mut ViewContext<Self>) {
|
||||
self.hide_completions(cx);
|
||||
|
||||
match phase {
|
||||
SelectPhase::Begin {
|
||||
position,
|
||||
|
|
Loading…
Reference in a new issue