Commit 2ce5d7d9 authored by Marco Bubke's avatar Marco Bubke
Browse files

Round margins of anchors in Bauhaus to integers.

parent d8621408
......@@ -355,7 +355,7 @@ bool QmlAnchors::instanceHasAnchors() const
void QmlAnchors::setMargin(AnchorLine::Type sourceAnchorLineType, double margin) const
QString propertyName = marginPropertyName(sourceAnchorLineType);
qmlItemNode().setVariantProperty(propertyName, round(margin, 4));
qmlItemNode().setVariantProperty(propertyName, qRound(margin));
bool QmlAnchors::instanceHasMargin(AnchorLine::Type sourceAnchorLineType) const
Supports Markdown
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