editor: Fix inlay hovers blinking in sync with cursors (#44822)

This change matches how normal hovers are handled (which early return
with `None` in this branch)

Release Notes:

- Fixed hover boxes for inlays blinking in and out without movement when
cursor blinking was enabled
This commit is contained in:
Lukas Wirth authored and GitHub committed 2025-12-14 19:21:50 +01:00
1 parent 13594bd97e
commit f80ef9a3c5
1 file changed
+1 -1
+1 -1
View File
@@ -151,7 +151,7 @@ pub fn hover_at_inlay(
false
})
{
hide_hover(editor, cx);
return;
}
let hover_popover_delay = EditorSettings::get_global(cx).hover_popover_delay.0;