Desktop version gui scaling restored
This commit is contained in:
parent
40688176d9
commit
c4005da3c9
8 changed files with 18 additions and 5 deletions
|
|
@ -557,6 +557,10 @@ void MainProgram::run_new_screen_func() {
|
|||
}
|
||||
}
|
||||
|
||||
float MainProgram::calculate_gui_scale() {
|
||||
return screen->calculate_gui_scale();
|
||||
}
|
||||
|
||||
void MainProgram::set_screen(std::function<std::unique_ptr<Screen>(std::unique_ptr<Screen>)> screenFunc) {
|
||||
newScreenFunc = screenFunc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue