diff --git a/qad/graphic/graphic.cpp b/qad/graphic/graphic.cpp index dbd3e41..4a86c83 100644 --- a/qad/graphic/graphic.cpp +++ b/qad/graphic/graphic.cpp @@ -217,7 +217,7 @@ void Graphic::procGesture(QGesture * g) { Qt::KeyboardModifiers km = Qt::NoModifier; if (gesture_angle <= 20.) km = Qt::ControlModifier; if (gesture_angle >= 70.) km = Qt::ShiftModifier; - procZoom(pg->centerPoint(), (pg->scaleFactor() - 1.) * 300., km); + procZoom(pg->centerPoint(), (pg->scaleFactor() - 1.) * 500., km); totalUpdate(); } break; case Qt::TapAndHoldGesture: { @@ -238,7 +238,7 @@ void Graphic::procZoom(QPointF view_center, double dzoom, Qt::KeyboardModifiers double px = view_center.x() - gridborder.x() - margins_.left(), py = hei - view_center.y() + margins_.height(); px = px / wid * selrect.width() + selrect.x(); py = py / hei * selrect.height() + selrect.y(); - scl = 1. - dzoom / 300.; + scl = 1. - dzoom / 500.; if (km == Qt::NoModifier) selrect.setRect(px - (px - selrect.x()) * scl, py - (py - selrect.y()) * scl, selrect.width() * scl, selrect.height() * scl); else {