fix: crash on mac touch

This commit is contained in:
rankun 2020-04-11 22:28:26 +08:00
commit 7e0099c7e6

View file

@ -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) void InputConvertNormal::wheelEvent(const QWheelEvent *from, const QSize &frameSize, const QSize &showSize)
{ {
if (!from) { if (!from || 0 == from->delta()) {
return; return;
} }