This commit is contained in:
nora 2023-04-17 20:11:41 +02:00
parent e662cc9172
commit b8bb77d708

View file

@ -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(