Skip to content

Commit

Permalink
fix #91656: Pinch/spread to zoom in or out starts with abrupt zoom to…
Browse files Browse the repository at this point in the history
… larger size
  • Loading branch information
lasconic committed Jan 12, 2016
1 parent 29fb9fa commit 70a8ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mscore/scoreview.cpp
Expand Up @@ -2094,7 +2094,7 @@ bool ScoreView::gestureEvent(QGestureEvent *event)

static qreal magStart = 1.0;
if (pinch->state() == Qt::GestureStarted) {
magStart = mag();
magStart = lmag();
}
if (pinch->changeFlags() & QPinchGesture::ScaleFactorChanged) {
// On Windows, totalScaleFactor() contains the net magnification.
Expand Down

0 comments on commit 70a8ea2

Please sign in to comment.