mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix panning limits for minimap
This commit is contained in:
@@ -139,6 +139,7 @@ void CMinimap::moveAdvMapSelection(const Point & positionGlobal)
|
||||
|
||||
void CMinimap::gesturePanning(const Point & initialPosition, const Point & currentPosition, const Point & lastUpdateDistance)
|
||||
{
|
||||
if (pos.isInside(currentPosition))
|
||||
moveAdvMapSelection(currentPosition);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user