mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
more
This commit is contained in:
parent
550b1644cb
commit
160111f287
2 changed files with 6 additions and 2 deletions
|
|
@ -572,3 +572,7 @@ pub fn __run_test_ui(mut add_contents: impl FnMut(&mut Ui)) {
|
|||
pub fn accesskit_root_id() -> Id {
|
||||
Id::new("accesskit_root")
|
||||
}
|
||||
|
||||
pub fn output_mut<R>( writer: impl FnOnce(&mut PlatformOutput) -> R) -> R {
|
||||
loop {}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ pub fn derive_inspect(input: TokenStream) -> TokenStream {
|
|||
impl ::egui_inspect::Inspect for GameState {
|
||||
fn inspect_mut(&mut self, ui: &mut ::egui::Ui) {
|
||||
::egui::CollapsingHeader::new("").id_source(0).show(ui, |ui| {
|
||||
ui.output_mut(|o| o.copied_text = format!(""));
|
||||
ui.output_mut(|o| o.copied_text = format!("{:?}", self.tile_db));
|
||||
egui::output_mut(|o| o.copied_text = format!(""));
|
||||
egui::output_mut(|o| o.copied_text = format!("{:?}", self.tile_db));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue