mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 03:25:02 +00:00
fix: mouse move grab rect too small on mac
This commit is contained in:
parent
38a88fce87
commit
6635f53fc1
1 changed files with 4 additions and 4 deletions
|
@ -100,10 +100,10 @@ QRect VideoForm::getGrabCursorRect()
|
|||
rc = m_videoWidget->geometry();
|
||||
rc.setTopLeft(ui->keepRadioWidget->mapToGlobal(rc.topLeft()));
|
||||
rc.setBottomRight(ui->keepRadioWidget->mapToGlobal(rc.bottomRight()));
|
||||
rc.setX(rc.x() + 100);
|
||||
rc.setY(rc.y() + 30);
|
||||
rc.setWidth(rc.width() - 180);
|
||||
rc.setHeight(rc.height() - 60);
|
||||
rc.setX(rc.x() + 10);
|
||||
rc.setY(rc.y() + 10);
|
||||
rc.setWidth(rc.width() - 20);
|
||||
rc.setHeight(rc.height() - 20);
|
||||
#else
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue