"Mini Toggle Switch" doesn't reset body size after changing terminal

spacing
This commit is contained in:
Branislav Stojkovic
2019-03-08 18:36:37 +01:00
parent 2d1cf515d6
commit 8ed2c0c9a5
5 changed files with 7 additions and 1 deletions
Binary file not shown.
@@ -242,7 +242,9 @@ public class MiniToggleSwitch extends AbstractTransparentComponent<ToggleSwitchT
public void setSpacing(Size spacing) {
this.spacing = spacing;
updateControlPoints();
updateControlPoints();
// Reset body shape.
body = null;
}
@Override
Binary file not shown.
Binary file not shown.
+4
View File
@@ -2582,6 +2582,10 @@
<changeType>BUG_FIX</changeType>
<description>"Highlight Connected Areas" doesn't follow multiple chained wires and jumpers</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>BUG_FIX</changeType>
<description>"Mini Toggle Switch" doesn't reset body size after changing terminal spacing</description>
</org.diylc.appframework.update.Change>
</changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version>