aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-04-16 16:29:11 +0000
committerTorbjörn Andersson2005-04-16 16:29:11 +0000
commit7b9a3b1fa73a2433201ac1c9d63952b5e9076158 (patch)
tree15977d2c1c9c5fc1c2903ba27367d488044432b7
parent036a985f9439614d08bf5b3a4f34c43946d0c030 (diff)
downloadscummvm-rg350-7b9a3b1fa73a2433201ac1c9d63952b5e9076158.tar.gz
scummvm-rg350-7b9a3b1fa73a2433201ac1c9d63952b5e9076158.tar.bz2
scummvm-rg350-7b9a3b1fa73a2433201ac1c9d63952b5e9076158.zip
Clarified/corrected my own comment, otherwise I'll probably forget exactly
why this was necessary. svn-id: r17634
-rw-r--r--gui/about.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/about.cpp b/gui/about.cpp
index 1f9043a07c..9800f47786 100644
--- a/gui/about.cpp
+++ b/gui/about.cpp
@@ -212,8 +212,11 @@ void AboutDialog::drawDialog() {
void AboutDialog::handleTickle() {
- // We're in the process of doing a full redraw. This will be used as
- // background for the text, so we don't want any text on it.
+ // We're in the process of doing a full redraw to re-create the
+ // background image for the text. That means we need to wait for the
+ // GUI itself to clear the overlay and call drawDialog() in all of the
+ // dialogs, otherwise we'll only redraw this one and it'll still have
+ // the remains of the old image, including the text that was on it.
if (!_canvas.pixels)
return;