Skip to content

Commit ce0525c

Browse files
committed
Change debug key to F1
1 parent 2e80cd2 commit ce0525c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toybox/src/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub struct Context {
1414

1515
// TODO(pat.m): might want to be able to disable this.
1616
/// Whether or not to show the built in debug menu.
17-
/// Can be toggled by F10.
17+
/// Can be toggled by F1.
1818
pub show_debug_menu: bool,
1919
pub wants_quit: bool,
2020
}
@@ -34,7 +34,7 @@ impl Context {
3434
self.input.process();
3535
self.egui = self.egui_integration.start_frame();
3636

37-
if self.input.button_just_down(input::keys::F10) {
37+
if self.input.button_just_down(input::keys::F1) {
3838
self.show_debug_menu = !self.show_debug_menu;
3939
}
4040

0 commit comments

Comments
 (0)