mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-01-10 04:57:02 +00:00
debugger toggle
This commit is contained in:
parent
a08ea7a86b
commit
662dc2adbf
|
@ -56,6 +56,10 @@ impl LiveDebugger {
|
|||
self.selected_event = -1;
|
||||
}
|
||||
|
||||
if !state.debugger {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
Window::new(im_str!("Debugger"))
|
||||
.resizable(false)
|
||||
.collapsed(true, Condition::FirstUseEver)
|
||||
|
|
|
@ -209,6 +209,7 @@ impl SharedGameState {
|
|||
}
|
||||
}
|
||||
ScanCode::F10 => self.settings.debug_outlines = !self.settings.debug_outlines,
|
||||
ScanCode::F12 => self.debugger = !self.debugger,
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue