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:
committed 2022-02-02 19:12:36 +01:00
1 parent 07a0eec4fd
commit 724829892d
1 file changed
+2
+2
View File
@@ -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,