From b8bb77d70890cca4b47903c612c947aee47cf185 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Mon, 17 Apr 2023 20:11:41 +0200 Subject: [PATCH] more --- src/debug.rs | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/debug.rs b/src/debug.rs index b6de505..add0499 100644 --- a/src/debug.rs +++ b/src/debug.rs @@ -37,22 +37,7 @@ fn debug_panel_ui( ui.add(egui::DragValue::new(&mut vol)); res.surf_music.set_volume(vol); ui.separator(); - egui::ScrollArea::both() - .id_source("insp_scroll") - .max_height(240.) - .max_width(340.0) - .show( - ui, - |ui| { - inspect! { - ui, scale, game, debug - } - }, - ); - if ui.button("Reload graphics").clicked() { - res.atlas = AtlasBundle::new().unwrap(); - game.tile_db.update_rects(&res.atlas.rects); - } + ui.separator(); egui::ScrollArea::vertical() .show(