aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2006-04-18 19:52:12 +0000
committerJohannes Schickel2006-04-18 19:52:12 +0000
commit58af73b344928cf817613c7d51e0769b064d48ae (patch)
tree9152ebf4e015d0f7a66a97b8fc885028b4b14680
parent1e150278856831f3cc1e473fd01473ac2961bd3a (diff)
downloadscummvm-rg350-58af73b344928cf817613c7d51e0769b064d48ae.tar.gz
scummvm-rg350-58af73b344928cf817613c7d51e0769b064d48ae.tar.bz2
scummvm-rg350-58af73b344928cf817613c7d51e0769b064d48ae.zip
Restores background before drawing a popupwidget.
svn-id: r22015
-rw-r--r--gui/ThemeNew.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp
index 2eabcc1ed7..1d93e290ac 100644
--- a/gui/ThemeNew.cpp
+++ b/gui/ThemeNew.cpp
@@ -628,6 +628,7 @@ void ThemeNew::drawPopUpWidget(const Common::Rect &r, const Common::String &sel,
return;
Common::Rect r2 = shadowRect(r, kShadowSmall);
+ restoreBackground(r2);
OverlayColor start = _colors[kPopUpWidgetStart], end = _colors[kPopUpWidgetEnd];
if (state == kStateHighlight) {