core: Make debug windows scrollable

This commit is contained in:
Nathan Adams 2023-06-02 18:35:58 +02:00
parent 85f6fd3889
commit 136417c58c
1 changed files with 1 additions and 0 deletions

View File

@ -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");