diff --git a/crates/viewer/re_ui/src/list_item/list_item.rs b/crates/viewer/re_ui/src/list_item/list_item.rs index ba84dcdd32f2..cdee8a6b3f06 100644 --- a/crates/viewer/re_ui/src/list_item/list_item.rs +++ b/crates/viewer/re_ui/src/list_item/list_item.rs @@ -87,9 +87,6 @@ impl ListItem { #[inline] pub fn selected(mut self, selected: bool) -> Self { self.selected = selected; - if selected { - self.interactive = true; // Hack needed, or the item is not shown as selected. TODO(emilk): why? - } self } @@ -415,6 +412,8 @@ impl ListItem { } else { None } + } else if selected { + Some(visuals.weak_bg_fill) } else { None }