mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 11:35:56 +00:00
fix: too big
This commit is contained in:
parent
b39848e79f
commit
1895bb4b09
1 changed files with 1 additions and 2 deletions
|
@ -145,8 +145,7 @@ void VideoForm::updateShowSize(const QSize &newSize)
|
|||
showSize.setHeight(qMin(newSize.height(), screenRect.height() - 200));
|
||||
showSize.setWidth(showSize.height() * m_widthHeightRatio);
|
||||
} else {
|
||||
//showSize.setWidth(qMin(newSize.width(), screenRect.width()/2));
|
||||
showSize.setWidth(qMin(newSize.width(), screenRect.width() - 200));
|
||||
showSize.setWidth(qMin(newSize.width(), screenRect.width()/2));
|
||||
showSize.setHeight(showSize.width() * m_widthHeightRatio);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue