UI: Fix panning when preview scaling is enabled

This commit is contained in:
Matt Gajownik committed 2022-07-31 14:19:27 +10:00
1 parent 7ec6f0a66b
commit 68499222ad
1 file changed
+1 -1
+1 -1
View File
@@ -577,7 +577,7 @@ void OBSBasicPreview::mousePressEvent(QMouseEvent *event)
event->button() == Qt::LeftButton) {
setCursor(Qt::ClosedHandCursor);
scrollingFrom.x = pos.x();
scrollingFrom.y = pos.x();
scrollingFrom.y = pos.y();
return;
}