From 07721aaab9827ed44e160e2026496234d40454af Mon Sep 17 00:00:00 2001 From: C Schell Date: Wed, 9 Oct 2013 21:50:47 -0700 Subject: [PATCH] Fix zoom effect cursor position on initial zoom in. BUG: 325799 FIXED-IN: 4.11.3 --- effects/zoom/zoom.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/effects/zoom/zoom.cpp b/effects/zoom/zoom.cpp index f34d7076d0..b06583dcb3 100644 --- a/effects/zoom/zoom.cpp +++ b/effects/zoom/zoom.cpp @@ -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(); }