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:
co-authored by
Nathan Sobo
Max Brunsfeld
parent
474ec2199c
commit
101add8da3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user