mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-10-01 04:41:40 +02:00
Fix bug. Mirrored text had wrong position on layout.
--HG-- branch : develop
This commit is contained in:
parent
3b00e4ad0e
commit
052896b960
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue