mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
hide hover on editor blur
This commit is contained in:
parent
69bd6bf1f3
commit
fb881b2eda
1 changed files with 1 additions and 1 deletions
|
@ -5693,7 +5693,6 @@ impl View for Editor {
|
|||
map.set_font(style.text.font_id, style.text.font_size, cx)
|
||||
});
|
||||
|
||||
// If the
|
||||
if font_changed {
|
||||
let handle = self.handle.clone();
|
||||
cx.defer(move |cx| {
|
||||
|
@ -5740,6 +5739,7 @@ impl View for Editor {
|
|||
self.buffer
|
||||
.update(cx, |buffer, cx| buffer.remove_active_selections(cx));
|
||||
self.hide_context_menu(cx);
|
||||
hide_hover(self, cx);
|
||||
cx.emit(Event::Blurred);
|
||||
cx.notify();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue