mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
LURE : Fix for ID: 3030143 Unexpected game cursor behavior. Always refresh menu and screen when mouse is moved.
svn-id: r54747
This commit is contained in:
parent
a29adaa77c
commit
9163b9e032
@ -584,12 +584,12 @@ uint16 PopupMenu::Show(int numEntries, const char *actions[]) {
|
||||
} else if (e.type() == Common::EVENT_LBUTTONDOWN || e.type() == Common::EVENT_MOUSEMOVE) {
|
||||
int16 x = mouse.x();
|
||||
int16 y = mouse.y() - yMiddle + (s->height() / 2);
|
||||
refreshFlag = true;
|
||||
|
||||
if (r.contains(x, y)) {
|
||||
selectedIndex = (y - r.top) / FONT_HEIGHT;
|
||||
if (e.type() == Common::EVENT_LBUTTONDOWN)
|
||||
goto bail_out;
|
||||
else
|
||||
refreshFlag = true;
|
||||
}
|
||||
#else
|
||||
} else if ((e.type() == Common::EVENT_LBUTTONDOWN) ||
|
||||
|
Loading…
Reference in New Issue
Block a user