mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 09:03:25 +00:00
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>
This commit is contained in:
parent
87dda6661c
commit
1257adfd26
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue