mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +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>) {
|
fn select(&mut self, Select(phase): &Select, cx: &mut ViewContext<Self>) {
|
||||||
|
self.hide_completions(cx);
|
||||||
|
|
||||||
match phase {
|
match phase {
|
||||||
SelectPhase::Begin {
|
SelectPhase::Begin {
|
||||||
position,
|
position,
|
||||||
|
|
Loading…
Reference in a new issue