summaryrefslogtreecommitdiffstats
path: root/src/View
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-04-15 23:47:03 +0200
committerneoraider <devnull@localhost>2008-04-15 23:47:03 +0200
commitb90de8c582b41bbb3af5f77df69ae537e106ce59 (patch)
tree38d2eeab249df19c0090c1dc336d16ee68b483b4 /src/View
parentcfd608527e167877d623bf5b9682b5c4b6130df9 (diff)
downloadzoomedit-b90de8c582b41bbb3af5f77df69ae537e106ce59.tar
zoomedit-b90de8c582b41bbb3af5f77df69ae537e106ce59.zip
zoomedit:
* Some scrolling tweaks
Diffstat (limited to 'src/View')
-rw-r--r--src/View/TopView.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/View/TopView.cpp b/src/View/TopView.cpp
index 08074c9..80f3f8e 100644
--- a/src/View/TopView.cpp
+++ b/src/View/TopView.cpp
@@ -187,13 +187,13 @@ void TopView::getBounds(float *minX, float *maxX, float *minY, float *maxY) {
}
if(minX)
- *minX -= 5;
+ *minX -= 2.5f;
if(maxX)
- *maxX += 5;
+ *maxX += 2.5f;
if(minY)
- *minY -= 5;
+ *minY -= 2.5f;
if(maxY)
- *maxY += 5;
+ *maxY += 2.5f;
}
}