GUI: Fix RTL Add Game dialog leaving UI in a broken state (#12765)
Make sure we clear all RTL dialog paddings once we go back to the launcher.
This commit is contained in:
parent
a8d7767b36
commit
782cd55c31
2 changed files with 5 additions and 4 deletions
|
@ -290,6 +290,11 @@ void GuiManager::redraw() {
|
|||
if (_redrawStatus == kRedrawOpenDialog && _dialogStack.size() > 2)
|
||||
shading = ThemeEngine::kShadingNone;
|
||||
|
||||
// Reset any custom RTL paddings set by stacked dialogs when we go back to the top
|
||||
if (useRTL() && _dialogStack.size() == 1) {
|
||||
setDialogPaddings(0, 0);
|
||||
}
|
||||
|
||||
switch (_redrawStatus) {
|
||||
case kRedrawCloseDialog:
|
||||
case kRedrawFull:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue