Skip to content

Commit

Permalink
Improve tooltip when hovering entity without components
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 14, 2024
1 parent 1ef1d64 commit 6883adc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/viewer/re_data_ui/src/instance_path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ impl DataUi for InstancePath {
};
let Some(components) = component else {
// This is fine - e.g. we're looking at `/world` and the user has only logged to `/world/car`.
ui_layout.label(
ui_layout.weak(
ui,
format!(
"No components logged on timeline {:?}",
"{self} has no components on timeline {:?}",
query.timeline().name()
),
);
Expand Down

0 comments on commit 6883adc

Please sign in to comment.