SHERLOCK: Fix minor gfx glitch when sliding up closing dialogs
This commit is contained in:
parent
930600c857
commit
3cf1afb459
1 changed files with 6 additions and 1 deletions
|
@ -1304,7 +1304,7 @@ void UserInterface::doInvControl() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (events._released || _keyboardInput) {
|
if (events._released || _keyboardInput) {
|
||||||
if ((!found && events._released) && _key == 'E') {
|
if ((found == 0 && events._released) || _key == 'E') {
|
||||||
inv.freeInv();
|
inv.freeInv();
|
||||||
_infoFlag = true;
|
_infoFlag = true;
|
||||||
clearInfo();
|
clearInfo();
|
||||||
|
@ -2454,6 +2454,11 @@ void UserInterface::banishWindow(bool slideUp) {
|
||||||
SHERLOCK_SCREEN_HEIGHT);
|
SHERLOCK_SCREEN_HEIGHT);
|
||||||
events.delay(10);
|
events.delay(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Show entire final area
|
||||||
|
screen._backBuffer1.blitFrom(screen._backBuffer2, Common::Point(0, CONTROLS_Y1),
|
||||||
|
Common::Rect(0, CONTROLS_Y1, SHERLOCK_SCREEN_WIDTH, SHERLOCK_SCREEN_HEIGHT));
|
||||||
|
screen.slamRect(Common::Rect(0, CONTROLS_Y1, SHERLOCK_SCREEN_WIDTH, SHERLOCK_SCREEN_HEIGHT));
|
||||||
}
|
}
|
||||||
|
|
||||||
_infoFlag = false;
|
_infoFlag = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue