From d4b39c2aaa66237630541d9a403e2e402c83e7cc Mon Sep 17 00:00:00 2001 From: borgmanJeremy <46930769+borgmanJeremy@users.noreply.github.com> Date: Mon, 11 Jul 2022 20:31:43 -0500 Subject: [PATCH] Swap size widget arguments to match --region (#2782) --- src/widgets/capture/capturewidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widgets/capture/capturewidget.cpp b/src/widgets/capture/capturewidget.cpp index 97fa7a86..406a3dc2 100644 --- a/src/widgets/capture/capturewidget.cpp +++ b/src/widgets/capture/capturewidget.cpp @@ -538,10 +538,10 @@ void CaptureWidget::paintEvent(QPaintEvent* paintEvent) QFontMetrics fm = painter.fontMetrics(); QString xy = QString("%1x%2+%3+%4") - .arg(static_cast(selection.left() * scale)) - .arg(static_cast(selection.top() * scale)) .arg(static_cast(selection.width() * scale)) - .arg(static_cast(selection.height() * scale)); + .arg(static_cast(selection.height() * scale)) + .arg(static_cast(selection.left() * scale)) + .arg(static_cast(selection.top() * scale)); xybox = fm.boundingRect(xy); // the small numbers here are just margins so the text doesn't