input: Only recreate the TextView used to display hover information when necessary. (#1313)

This commit is contained in:
Sunli 2025-09-30 16:11:32 +08:00 committed by GitHub
parent 69af1be6e5
commit d619e00ecb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -115,7 +115,6 @@ impl InputState {
self.handle_hover_definition(offset, window, cx);
} else {
self.hover_definition.clear();
self.hover_popover = None;
self.handle_hover_popover(offset, window, cx);
}
cx.notify();