Merge pull request #20177 from captain0xff/flickering-cursor

TechDraw: Fix flickering cursor issue
This commit is contained in:
Chris Hennes
2025-03-17 11:15:40 -05:00
committed by GitHub

View File

@@ -113,8 +113,12 @@ void QGVNavStyleTouchpad::handleMouseMoveEvent(QMouseEvent *event)
// if the mouse moves, but we are not zooming or panning, then we should make
// sure that zoom and pan are turned off.
stopPan();
stopZoom();
if (panningActive) {
stopPan();
}
if (zoomingActive) {
stopZoom();
}
}
void QGVNavStyleTouchpad::setAnchor()