mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Use a more appropriate QgsRect modify function
git-svn-id: http://svn.osgeo.org/qgis/trunk@5289 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
4fabdaadc2
commit
870c61aeb1
@ -515,7 +515,7 @@ void QgsMapCanvas::zoomToSelected()
|
||||
{
|
||||
// Expand rect to give a bit of space around the selected
|
||||
// objects so as to keep them clear of the map boundaries
|
||||
rect.expand(1.1);
|
||||
rect.scale(1.1);
|
||||
setExtent(rect);
|
||||
refresh();
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user