Fixed wheel zoom with QT (ticket #733)
This commit is contained in:
parent
117ff43cc3
commit
96503991b1
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user