mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
Older files that contain "Open Jack 1/4" components sometimes open with
the jacks rotated the wrong way
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user