Skip to content

Commit f707cc7

Browse files
author
g_j_m
committedJan 29, 2006
Fix bug with zoom/select rubberband disappearing when moving above or
to the left of the initial mouse click position git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4777 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gui/qgsmapcanvas.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2567,7 +2567,7 @@ void QgsMapCanvas::mouseMoveEvent(QMouseEvent * e)
25672567
mCanvasProperties->zoomBox.setTopLeft(mCanvasProperties->rubberStartPoint);
25682568
}
25692569
mCanvasProperties->zoomBox.setBottomRight(e->pos());
2570-
mRubberBand->setGeometry(mCanvasProperties->zoomBox);
2570+
mRubberBand->setGeometry(mCanvasProperties->zoomBox.normalized());
25712571
mRubberBand->show();
25722572
#endif
25732573

0 commit comments

Comments
 (0)
Please sign in to comment.