Skip to content

Commit

Permalink
feat: add a debug build label
Browse files Browse the repository at this point in the history
  • Loading branch information
lukexor committed Jun 27, 2024
1 parent 8c4265e commit 46b3d94
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tetanes/src/nes/renderer/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,10 @@ impl Gui {
ui.menu_button("🖵 Window", |ui| self.window_menu(ui));
ui.menu_button("🕷 Debug", |ui| self.debug_menu(ui));
ui.menu_button("❓ Help", |ui| self.help_menu(ui));

ui.with_layout(Layout::right_to_left(Align::Center), |ui| {
egui::warn_if_debug_build(ui);
});
});
});
let spacing = ui.style().spacing.item_spacing;
Expand Down

0 comments on commit 46b3d94

Please sign in to comment.