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 05da18d commit f707cc7Copy full SHA for f707cc7
src/gui/qgsmapcanvas.cpp
@@ -2567,7 +2567,7 @@ void QgsMapCanvas::mouseMoveEvent(QMouseEvent * e)
2567
mCanvasProperties->zoomBox.setTopLeft(mCanvasProperties->rubberStartPoint);
2568
}
2569
mCanvasProperties->zoomBox.setBottomRight(e->pos());
2570
- mRubberBand->setGeometry(mCanvasProperties->zoomBox);
+ mRubberBand->setGeometry(mCanvasProperties->zoomBox.normalized());
2571
mRubberBand->show();
2572
#endif
2573
0 commit comments