diff --git a/applethandle.cpp b/applethandle.cpp index 8548e0f2b..1b6e072d8 100644 --- a/applethandle.cpp +++ b/applethandle.cpp @@ -277,6 +277,10 @@ void AppletHandle::mouseMoveEvent(QGraphicsSceneMouseEvent *event) m_scale = _k_distanceForPoint(event->pos()-center) / _k_distanceForPoint(pressPos-center); + if (qAbs(m_scale-1.0)<=0.1) { + m_scale = 1.0; + } + QTransform matrix; matrix.translate(center.x(), center.y()); matrix.rotateRadians(m_angle);