[Scummvm-git-logs] scummvm master -> 85f789a8ad969ae737ca9fd1fb71b95ebdfcd08c
sev-
sev at scummvm.org
Wed Jul 28 05:29:43 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
85f789a8ad GUI: Fix shading being applied more than once
Commit: 85f789a8ad969ae737ca9fd1fb71b95ebdfcd08c
https://github.com/scummvm/scummvm/commit/85f789a8ad969ae737ca9fd1fb71b95ebdfcd08c
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2021-07-28T07:29:40+02:00
Commit Message:
GUI: Fix shading being applied more than once
Changed paths:
gui/gui-manager.cpp
diff --git a/gui/gui-manager.cpp b/gui/gui-manager.cpp
index b6607ae62f..b19e869094 100644
--- a/gui/gui-manager.cpp
+++ b/gui/gui-manager.cpp
@@ -287,7 +287,7 @@ void GuiManager::redraw() {
// Tanoku: Do not apply shading more than once when opening many dialogs
// on top of each other. Screen ends up being too dark and it's a
// performance hog.
- if (_redrawStatus == kRedrawOpenDialog && _dialogStack.size() > 3)
+ if (_redrawStatus == kRedrawOpenDialog && _dialogStack.size() > 2)
shading = ThemeEngine::kShadingNone;
switch (_redrawStatus) {
More information about the Scummvm-git-logs
mailing list