OpenToonz - An open-source full-featured 2D animation creation software
C
Fix pan scaling, again, hopefully
manongjohn7dbf308253ac
diff --git a/toonz/sources/toonzqt/schematicviewer.cpp b/toonz/sources/toonzqt/schematicviewer.cppindex 085ddf9b5..fb3b6acb2 100644--- a/toonz/sources/toonzqt/schematicviewer.cpp+++ b/toonz/sources/toonzqt/schematicviewer.cpp@@ -287,8 +287,8 @@ void SchematicSceneViewer::mouseMoveEvent(QMouseEvent *me) {QPointF deltaPoint = usePos - m_firstPanPoint;panQt(deltaPoint);m_firstPanPoint = m_touchDevice == QTouchDevice::TouchScreen- ? mapToScene(currWinPos)- : currWinPos * getDevPixRatio();+ ? mapToScene(me->pos())+ : me->pos() * getDevPixRatio();} else {if (m_cursorMode == CursorMode::Zoom && m_zooming) {int deltaY = (m_oldWinPos.y() - me->pos().y()) * 10;