Skip to content

Commit

Permalink
core: Make debug windows scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone committed Jun 3, 2023
1 parent 85f6fd3 commit 136417c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/debug_ui/display_object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ impl DisplayObjectWindow {
Window::new(summary_name(object))
.id(Id::new(object.as_ptr()))
.open(&mut keep_open)
.scroll2([true, true])
.show(egui_ctx, |ui| {
ui.horizontal(|ui| {
ui.selectable_value(&mut self.open_panel, Panel::Position, "Position");
Expand Down

0 comments on commit 136417c

Please sign in to comment.