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

This commit is contained in:
captain0xff
2025-03-18 16:13:29 -03:00
committed by Adrián Insaurralde Avalos
parent ffec2d3055
commit a42141ea13
+6 -2
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()