Enable game backgrounds on more screens

This commit is contained in:
Henrik Rydgård committed 2022-11-22 22:53:54 +01:00
1 parent 9c21951efe
commit 575560f679
16 files changed
+58 -54

No files matched your search

+1 -3
View File
@@ -557,8 +557,6 @@ DragDropButton *ControlLayoutView::getPickedControl(const int x, const int y) {
return bestMatch;
}
TouchControlLayoutScreen::TouchControlLayoutScreen() {}
void TouchControlLayoutScreen::resized() {
RecreateViews();
}
@@ -568,7 +566,7 @@ void TouchControlLayoutScreen::onFinish(DialogResult reason) {
}
UI::EventReturn TouchControlLayoutScreen::OnVisibility(UI::EventParams &e) {
screenManager()->push(new TouchControlVisibilityScreen());
screenManager()->push(new TouchControlVisibilityScreen(gamePath_));
return UI::EVENT_DONE;
}