UI: Fix panning when preview scaling is enabled

This commit is contained in:
Matt Gajownik 2022-07-31 14:19:27 +10:00
parent 7ec6f0a66b
commit 68499222ad

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;
}