mirror of https://github.com/vitalif/openscad
Fixed erratic zooming on trackpads
parent
54ad8c2039
commit
bdc52fa6e6
|
@ -308,7 +308,7 @@ bool QGLView::save(const char *filename)
|
|||
|
||||
void QGLView::wheelEvent(QWheelEvent *event)
|
||||
{
|
||||
this->cam.zoom(event->delta());
|
||||
this->cam.zoom(event->angleDelta().y());
|
||||
updateGL();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue