ensure grabbed image is properly sized for screen target when screen mirroring is enabled

preferencesAboutTextFull
Clément Fauconnier 4 years ago
parent 2136f077ff
commit 6d2fd84472
  1. 2
      src/gui/UBScreenMirror.cpp

@ -71,7 +71,7 @@ void UBScreenMirror::paintEvent(QPaintEvent *event)
int x = (width() - mLastPixmap.width()) / 2; int x = (width() - mLastPixmap.width()) / 2;
int y = (height() - mLastPixmap.height()) / 2; int y = (height() - mLastPixmap.height()) / 2;
painter.drawPixmap(x, y, mLastPixmap); painter.drawPixmap(x, y, width(), height(), mLastPixmap);
} }
} }

Loading…
Cancel
Save