diff --git a/libs/ui/input/kis_zoom_action.cpp b/libs/ui/input/kis_zoom_action.cpp --- a/libs/ui/input/kis_zoom_action.cpp +++ b/libs/ui/input/kis_zoom_action.cpp @@ -75,7 +75,7 @@ Q_FOREACH (QTouchEvent::TouchPoint point, event->touchPoints()) { if (point.state() != Qt::TouchPointReleased) { - result += point.screenPos(); + result += point.pos(); count++; } } @@ -209,7 +209,7 @@ if (point.state() != Qt::TouchPointReleased) { count++; - dist += (point.screenPos() - center).manhattanLength(); + dist += (point.pos() - center).manhattanLength(); } }