Add ui scale setting and slider

This commit is contained in:
Imbris
2019-07-25 22:28:53 -04:00
parent dcb34385fd
commit 4ad42c57e4
13 changed files with 178 additions and 77 deletions

View File

@ -55,7 +55,7 @@ impl PlayState for MainMenuState {
Some(Ok(client)) => {
self.main_menu_ui.connected();
return PlayStateResult::Push(Box::new(CharSelectionState::new(
&mut global_state.window,
global_state,
std::rc::Rc::new(std::cell::RefCell::new(client)),
)));
}