Merge pull request #6976 from theg4sh:linux-window-mouse-wheel-support
This commit is contained in:
commit
941090861e
@ -2637,9 +2637,6 @@ void DefaultViewPort::wheelEvent(QWheelEvent* evnt)
|
|||||||
icvmouseHandler((QMouseEvent*)evnt, mouse_wheel, cv_event, flags);
|
icvmouseHandler((QMouseEvent*)evnt, mouse_wheel, cv_event, flags);
|
||||||
icvmouseProcessing(QPointF(pt), cv_event, flags);
|
icvmouseProcessing(QPointF(pt), cv_event, flags);
|
||||||
|
|
||||||
scaleView(delta / 240.0, pt);
|
|
||||||
viewport()->update();
|
|
||||||
|
|
||||||
QWidget::wheelEvent(evnt);
|
QWidget::wheelEvent(evnt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user