Use element_hover instead of red

Antonio Scandurra created

Change summary

crates/editor2/src/hover_popover.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/editor2/src/hover_popover.rs 🔗

@@ -118,7 +118,7 @@ pub fn hover_at_inlay(editor: &mut Editor, inlay_hover: InlayHover, cx: &mut Vie
                     // Highlight the selected symbol using a background highlight
                     this.highlight_inlay_background::<HoverState>(
                         vec![inlay_hover.range],
-                        |theme| gpui::red(), // todo!("use a proper background here")
+                        |theme| theme.element_hover, // todo!("use a proper background here")
                         cx,
                     );
                     this.hover_state.info_popover = Some(hover_popover);