1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-25 00:37:24 +02:00

code review

This commit is contained in:
Michael
2023-08-27 00:22:29 +02:00
committed by GitHub
parent 6b71820197
commit 4eecca2d9a
3 changed files with 9 additions and 6 deletions

View File

@ -121,6 +121,8 @@ void MapViewActions::gesturePinch(const Point & centerPosition, double lastUpdat
void MapViewActions::gesture(bool on, const Point & initialPosition, const Point & finalPosition)
{
dragActive = on;
pinchZoomFactor = 1.0;
}