summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-07-04 23:55:26 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-07-04 22:59:14 -0700
commit1257adfd267e04b3dbe149c9c5874132dc70ec62 (patch)
tree2de6f6e7ae6af0500e53101a3afdd80e08e518bf /qt-ui/profilegraphics.cpp
parent87dda6661cf3c1c056e28767bb15cd3e3bb3f734 (diff)
downloadsubsurface-1257adfd267e04b3dbe149c9c5874132dc70ec62.tar.gz
Profile: use more levels of zoom
Makes it easier to see colored lines - e.g. velocity with 20 levels of zoom. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profilegraphics.cpp')
-rw-r--r--qt-ui/profilegraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp
index 0fcac8a4a..cfc1cf685 100644
--- a/qt-ui/profilegraphics.cpp
+++ b/qt-ui/profilegraphics.cpp
@@ -78,7 +78,7 @@ void ProfileGraphicsView::wheelEvent(QWheelEvent* event)
QPoint toolTipPos = mapFromScene(toolTip->pos());
double scaleFactor = 1.15;
- if (event->delta() > 0 && zoomLevel < 10) {
+ if (event->delta() > 0 && zoomLevel < 20) {
scale(scaleFactor, scaleFactor);
zoomLevel++;
} else if (event->delta() < 0 && zoomLevel > 0) {