diff options
author | Torbjörn Andersson | 2007-06-30 08:24:36 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-06-30 08:24:36 +0000 |
commit | dd77f8e1537272c395f99585edbc13153a1589d3 (patch) | |
tree | 5a1f3211de91af4e6c2462c09a84ba63703c9f99 /engines/touche | |
parent | 3535eaec2095e685e9a4be0ace8a813ca441dc89 (diff) | |
download | scummvm-rg350-dd77f8e1537272c395f99585edbc13153a1589d3.tar.gz scummvm-rg350-dd77f8e1537272c395f99585edbc13153a1589d3.tar.bz2 scummvm-rg350-dd77f8e1537272c395f99585edbc13153a1589d3.zip |
Move the redrawing of dialog windows (options, save, load, ...) so that we do
not redraw it in the middle of changing to a different dialog. This should fix
bug #1745090 ("TOUCHE: Glitch in the menu").
svn-id: r27781
Diffstat (limited to 'engines/touche')
-rw-r--r-- | engines/touche/ui.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/touche/ui.cpp b/engines/touche/ui.cpp index ef8f5a0d7d..15dc64aaf2 100644 --- a/engines/touche/ui.cpp +++ b/engines/touche/ui.cpp @@ -381,6 +381,11 @@ void ToucheEngine::handleOptions(int forceDisplay) { } } } + if (doRedraw) { + redrawMenu(&menuData); + updateScreenArea(90, 102, 460, 196); + doRedraw = false; + } Common::Event event; while (_eventMan->pollEvent(event)) { const Button *button = 0; @@ -419,11 +424,6 @@ void ToucheEngine::handleOptions(int forceDisplay) { break; } } - if (doRedraw) { - redrawMenu(&menuData); - updateScreenArea(90, 102, 460, 196); - doRedraw = false; - } _system->updateScreen(); _system->delayMillis(10); } |