Older files that contain "Open Jack 1/4" components sometimes open with

the jacks rotated the wrong way
This commit is contained in:
bancika
2020-04-08 11:41:02 +02:00
parent a665bfcf42
commit ae7f2625ed
5 changed files with 5 additions and 1 deletions
Binary file not shown.
@@ -351,7 +351,7 @@ public class OpenJack1_4 extends AbstractMultiPartComponent<String> {
@EditableProperty
public Integer getAngle() {
if (angle == null) {
if (angle == null || (orientation != null && orientation != Orientation.DEFAULT)) {
if (orientation != null && orientation != Orientation.DEFAULT)
angle = Integer.parseInt(orientation.name().replace("_", ""));
else