Fix bug. Mirrored text had wrong position on layout.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-07-11 15:14:08 +03:00
parent 3b00e4ad0e
commit 052896b960

View file

@ -1009,7 +1009,7 @@ void VLayoutPiece::CreateLabelStrings(QGraphicsItem *parent, const QVector<QPoin
if (d->mirror)
{
labelMatrix.scale(-1, 1);
labelMatrix.rotate(angle);
labelMatrix.rotate(-angle);
labelMatrix.translate(-dW, 0);
labelMatrix.translate(dX, dY); // Each string has own position
}