mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-21 12:04:59 +00:00
fix: crash on mac touch
This commit is contained in:
parent
827c529b36
commit
7e0099c7e6
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ void InputConvertNormal::mouseEvent(const QMouseEvent *from, const QSize &frameS
|
|||
|
||||
void InputConvertNormal::wheelEvent(const QWheelEvent *from, const QSize &frameSize, const QSize &showSize)
|
||||
{
|
||||
if (!from) {
|
||||
if (!from || 0 == from->delta()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue