mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Updated english translation ans push joshua script to rotate angle text to 270° if conductor is vertical, interaction his not prefect at this time but is work
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2179 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1124,6 +1124,7 @@ void Conductor::calculateTextItemPosition() {
|
||||
} else {
|
||||
// positionnement automatique basique
|
||||
text_item -> setPos(middleSegment() -> middle());
|
||||
middleSegment() -> isVertical()? text_item -> setRotationAngle(270): text_item -> setRotationAngle(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user