Simplify hint event management slightly

This commit is contained in:
Kirill Bulatov
2023-06-29 22:25:49 +03:00
parent d59e91aff2
commit cb4b92aa61
3 changed files with 48 additions and 35 deletions
+1 -1
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);
}
}