Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ae5d7663 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix freeze when changing shape's marker

KoMarker::maxInset() should not multiply the inset by the line
width, because it has already been multiplied in
KoMarker::boundingRect().

BUG:422466
parent 042ad182
......@@ -264,10 +264,6 @@ qreal KoMarker::maxInset(qreal strokeWidth) const
result = qMax(KisAlgebra2D::norm(shapesBounds.bottomLeft()), result);
result = qMax(KisAlgebra2D::norm(shapesBounds.bottomRight()), result);
if (d->coordinateSystem == StrokeWidth) {
result *= strokeWidth;
}
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment