Fixed wheel zoom with QT (ticket #733)

This commit is contained in:
Ilya Lysenkov 2011-06-15 09:27:38 +00:00
parent 117ff43cc3
commit 96503991b1

View File

@ -2511,7 +2511,7 @@ void ViewPort::scaleView(qreal factor,QPointF center)
void ViewPort::wheelEvent(QWheelEvent *event)
{
scaleView( -event->delta() / 240.0,event->pos());
scaleView( event->delta() / 240.0,event->pos());
viewport()->update();
}