Skip to content

Commit

Permalink
Fix bug with zoom/select rubberband disappearing when moving above or
Browse files Browse the repository at this point in the history
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
  • Loading branch information
g_j_m committed Jan 29, 2006
1 parent 05da18d commit f707cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmapcanvas.cpp
Expand Up @@ -2567,7 +2567,7 @@ void QgsMapCanvas::mouseMoveEvent(QMouseEvent * e)
mCanvasProperties->zoomBox.setTopLeft(mCanvasProperties->rubberStartPoint);
}
mCanvasProperties->zoomBox.setBottomRight(e->pos());
mRubberBand->setGeometry(mCanvasProperties->zoomBox);
mRubberBand->setGeometry(mCanvasProperties->zoomBox.normalized());
mRubberBand->show();
#endif

Expand Down

0 comments on commit f707cc7

Please sign in to comment.