Simplify hint event management slightly

This commit is contained in:
Kirill Bulatov 2023-06-22 11:39:10 +03:00
parent d59e91aff2
commit cb4b92aa61
3 changed files with 48 additions and 35 deletions

View file

@ -322,7 +322,7 @@ impl Editor {
);
if !self.is_singleton(cx) {
self.refresh_inlays(crate::InlayRefreshReason::Scroll, cx);
self.refresh_inlays(crate::InlayRefreshReason::NewLinesShown, cx);
}
}