Merge branch 'imbris/egui-toggle-simplify' into 'master'

Only toggle egui via F7 instead of needing to also have debug toggle on with F3

See merge request veloren/veloren!3133
This commit is contained in:
Ben Wallis 2022-01-24 08:15:36 +00:00
commit 537495dd24

View File

@ -90,5 +90,5 @@ impl Default for InterfaceSettings {
#[cfg(feature = "egui-ui")]
impl InterfaceSettings {
pub fn egui_enabled(&self) -> bool { self.toggle_debug && self.toggle_egui_debug }
pub fn egui_enabled(&self) -> bool { self.toggle_egui_debug }
}