We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent cd7af0d commit e58150eCopy full SHA for e58150e
src/gui/qgsmeasure.cpp
@@ -292,11 +292,8 @@ void QgsMeasure::canvasPressEvent(QMouseEvent * e)
292
293
void QgsMeasure::canvasMoveEvent(QMouseEvent * e)
294
{
295
- if (e->state() & Qt::LeftButton)
296
- {
297
- QgsPoint point = mCanvas->getCoordinateTransform()->toMapCoordinates(e->pos().x(), e->pos().y());
298
- mouseMove(point);
299
- }
+ QgsPoint point = mCanvas->getCoordinateTransform()->toMapCoordinates(e->pos().x(), e->pos().y());
+ mouseMove(point);
300
}
301
302
0 commit comments