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,7 +139,8 @@ void CMinimap::moveAdvMapSelection(const Point & positionGlobal)
|
||||
|
||||
void CMinimap::gesturePanning(const Point & initialPosition, const Point & currentPosition, const Point & lastUpdateDistance)
|
||||
{
|
||||
moveAdvMapSelection(currentPosition);
|
||||
if (pos.isInside(currentPosition))
|
||||
moveAdvMapSelection(currentPosition);
|
||||
}
|
||||
|
||||
void CMinimap::clickLeft(tribool down, bool previousState)
|
||||
|
Reference in New Issue
Block a user