Fixed erratic zooming on trackpads

master
Marius Kintel 2015-02-22 03:55:42 -05:00
parent 54ad8c2039
commit bdc52fa6e6
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}