fix: crash on mac touch

This commit is contained in:
rankun 2020-04-11 22:28:26 +08:00
parent 96472cec90
commit 5b5a26332b

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)
{
if (!from) {
if (!from || 0 == from->delta()) {
return;
}