mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
SHERLOCK: RT: Fix display of tooltip for on-screen objects
This commit is contained in:
parent
f02488fc20
commit
e5f00747ed
@ -232,6 +232,7 @@ Scene::Scene(SherlockEngine *vm): _vm(vm) {
|
||||
_doBgAnimDone = true;
|
||||
_tempFadeStyle = 0;
|
||||
_exitZone = -1;
|
||||
_doBgAnimDone = false;
|
||||
}
|
||||
|
||||
Scene::~Scene() {
|
||||
|
@ -465,7 +465,7 @@ void TattooScene::doBgAnim() {
|
||||
events.wait(3);
|
||||
|
||||
screen._flushScreen = false;
|
||||
_doBgAnimDone = false;
|
||||
_doBgAnimDone = true;
|
||||
ui._drawMenu = false;
|
||||
|
||||
for (int idx = 1; idx < MAX_CHARACTERS; ++idx) {
|
||||
|
@ -56,7 +56,7 @@ void TattooUserInterface::handleInput() {
|
||||
TattooEngine &vm = *(TattooEngine *)_vm;
|
||||
Events &events = *_vm->_events;
|
||||
TattooScene &scene = *(TattooScene *)_vm->_scene;
|
||||
Common::Point mousePos = events.mousePos();
|
||||
Common::Point mousePos = events.mousePos() + _currentScroll;
|
||||
|
||||
events.pollEventsAndWait();
|
||||
_keyState.keycode = Common::KEYCODE_INVALID;
|
||||
|
Loading…
Reference in New Issue
Block a user