stop the cursor from flickering while picking a cosmetic vertex in techdraw

This commit is contained in:
captain0xff
2025-03-13 21:30:44 +05:30
parent 2352557048
commit 18b6b07a57

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()