mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-17 04:45:02 +01:00
more
This commit is contained in:
parent
785078098e
commit
5661dae141
1 changed files with 2 additions and 4 deletions
|
|
@ -25,9 +25,7 @@ fn main() {
|
||||||
|
|
||||||
pub(crate) fn do_debug_ui(ctx: &egui::Context, mut game: &mut GameState) {
|
pub(crate) fn do_debug_ui(ctx: &egui::Context, mut game: &mut GameState) {
|
||||||
egui::Window::new("Debug (F12)").show(ctx, |ui| {
|
egui::Window::new("Debug (F12)").show(ctx, |ui| {
|
||||||
egui::ScrollArea::both().show(ui, |ui| {
|
let mut id_source = 0;
|
||||||
let mut id_source = 0;
|
::egui_inspect::UiExt::property(ui, "game", &mut game, &mut id_source);
|
||||||
::egui_inspect::UiExt::property(ui, "game", &mut game, &mut id_source);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue