1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Merge pull request #617 from JakubK44/fullscreen_mousemove

Fix fullscreen map mouse scrolling
This commit is contained in:
Alexander Shishkin
2020-01-01 02:16:28 +03:00
committed by GitHub

View File

@@ -568,6 +568,7 @@ CAdvMapInt::CAdvMapInt():
pos.x = pos.y = 0;
pos.w = screen->w;
pos.h = screen->h;
strongInterest = true; // handle all mouse move events to prevent dead mouse move space in fullscreen mode
townList.onSelect = std::bind(&CAdvMapInt::selectionChanged,this);
bg = BitmapHandler::loadBitmap(ADVOPT.mainGraphic);
if (ADVOPT.worldViewGraphic != "")