Skip to content

Commit

Permalink
Allow horizontal scrolling in blueprint panel (#2114)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk authored May 15, 2023
1 parent a64edaa commit b2fc277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/re_viewer/src/ui/viewport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ impl Viewport {
pub fn tree_ui(&mut self, ctx: &mut ViewerContext<'_>, ui: &mut egui::Ui) {
crate::profile_function!();

egui::ScrollArea::vertical()
.auto_shrink([false; 2])
egui::ScrollArea::both()
.auto_shrink([true, false])
.show(ui, |ui| {
let space_view_ids = self
.space_views
Expand Down

0 comments on commit b2fc277

Please sign in to comment.