Skip to content

Commit

Permalink
fix text and add a TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jun 21, 2023
1 parent 257d8b2 commit c669bbb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions crates/re_viewport/src/viewport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl Viewport {
}

let mut visibility_changed = false;
let mut removed_space_view = false;
let mut removed = false;
let mut visible = self.tree.is_visible(tile_id);

let default_open = true;
Expand All @@ -172,9 +172,9 @@ impl Viewport {
|re_ui, ui| {
visibility_changed =
visibility_button_ui(re_ui, ui, true, &mut visible).changed();
removed_space_view = re_ui
removed = re_ui
.small_icon_button(ui, &re_ui::icons::REMOVE)
.on_hover_text("Remove Space View from the viewport.")
.on_hover_text("Remove contaner")
.clicked();
},
);
Expand All @@ -189,6 +189,8 @@ impl Viewport {
self.has_been_user_edited = true;
self.tree.set_visible(tile_id, visible);
}

// TODO: remove container
}

fn space_view_entry_ui(
Expand Down

0 comments on commit c669bbb

Please sign in to comment.