1
0

fix: zoom jump due to stupid bug

This commit is contained in:
Gary Wang
2019-11-02 13:32:13 +08:00
parent f2d83e3f85
commit fb9207cb71
2 changed files with 7 additions and 12 deletions

View File

@@ -53,11 +53,10 @@ private:
bool shouldIgnoreMousePressMoveEvent(const QMouseEvent *event) const;
void setCheckerboardEnabled(bool enabled);
void reapplyViewTransform();
void resetWithScaleAndRotate(qreal scaleFactor, qreal rotateAngle);
bool m_enableFitInView = false;
bool m_checkerboardEnabled = false;
qreal m_scaleFactor = 1;
qreal m_rotateAngle = 0;
};