mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
dont show the game settings in main menu
This commit is contained in:
parent
110ec2b2d8
commit
d4fcb68e94
1 changed files with 1 additions and 13 deletions
|
@ -831,7 +831,7 @@ impl App {
|
||||||
filled_group(ui, |ui| {
|
filled_group(ui, |ui| {
|
||||||
ui.set_min_size(ui.available_size());
|
ui.set_min_size(ui.available_size());
|
||||||
ScrollArea::both().auto_shrink(false).show(ui, |ui| {
|
ScrollArea::both().auto_shrink(false).show(ui, |ui| {
|
||||||
self.show_all_settings(ui, true);
|
self.show_local_settings(ui);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -954,18 +954,6 @@ impl App {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
fn show_all_settings(&mut self, ui: &mut Ui, show_local: bool) {
|
|
||||||
self.show_game_settings(ui);
|
|
||||||
if show_local {
|
|
||||||
self.show_local_settings(ui);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn show_game_settings(&mut self, ui: &mut Ui) {
|
|
||||||
heading_with_underline(ui, tr("connect_settings"));
|
|
||||||
self.app_saved_state.game_settings.show_editor(ui);
|
|
||||||
}
|
|
||||||
|
|
||||||
fn show_local_settings(&mut self, ui: &mut Ui) {
|
fn show_local_settings(&mut self, ui: &mut Ui) {
|
||||||
heading_with_underline(ui, tr("connect_settings_local"));
|
heading_with_underline(ui, tr("connect_settings_local"));
|
||||||
ui.checkbox(
|
ui.checkbox(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue