Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Behave better when zooming to selection when the selection is a singl…
…e point

git-svn-id: http://svn.osgeo.org/qgis/trunk@5538 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jun 23, 2006
1 parent eee6c56 commit 57a21ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsvectorlayer.cpp
Expand Up @@ -1381,7 +1381,7 @@ QgsRect QgsVectorLayer::bBoxOfSelected()
}
else
{
const double padFactor = 0.05;
const double padFactor = 1e-8;
double widthPad = retval.xMin() * padFactor;
double heightPad = retval.yMin() * padFactor;
double xmin = retval.xMin() - widthPad;
Expand Down

0 comments on commit 57a21ca

Please sign in to comment.