From 1257adfd267e04b3dbe149c9c5874132dc70ec62 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Thu, 4 Jul 2013 23:55:26 +0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/profilegraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/profilegraphics.cpp') 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) { -- cgit v1.2.3-70-g09d2