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)
|
if (d->mirror)
|
||||||
{
|
{
|
||||||
labelMatrix.scale(-1, 1);
|
labelMatrix.scale(-1, 1);
|
||||||
labelMatrix.rotate(angle);
|
labelMatrix.rotate(-angle);
|
||||||
labelMatrix.translate(-dW, 0);
|
labelMatrix.translate(-dW, 0);
|
||||||
labelMatrix.translate(dX, dY); // Each string has own position
|
labelMatrix.translate(dX, dY); // Each string has own position
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user