GUI: Do not apply shadow on single dialog draw

This commit is contained in:
Eugene Sandulenko 2022-10-01 17:21:58 +02:00
parent 655fea0de0
commit 7cd63b418a

View File

@ -400,7 +400,9 @@ void GuiManager::redraw() {
previousDialog->drawDialog(kDrawLayerForeground);
}
_theme->applyScreenShading(shading);
if (!_displayTopDialogOnly)
_theme->applyScreenShading(shading);
_dialogStack.top()->drawDialog(kDrawLayerBackground);
_theme->drawToScreen();