Fix zoom effect cursor position on initial zoom in.

BUG: 325799
FIXED-IN: 4.11.3
This commit is contained in:
C Schell 2013-10-09 21:50:47 -07:00 committed by Martin Gräßlin
parent ad3449f3b1
commit 07721aaab9

View file

@ -387,8 +387,9 @@ void ZoomEffect::zoomIn(double to)
polling = true;
effects->startMousePolling();
}
cursorPoint = effects->cursorPos();
if (mouseTracking == MouseTrackingDisabled)
prevPoint = effects->cursorPos();
prevPoint = cursorPoint;
effects->addRepaintFull();
}