Improved rendering of 'Switch (Latching)' symbol to clearly make visual contact between the terminals

This commit is contained in:
Bane Stojkovic
2026-02-13 22:26:23 +01:00
parent 7e79143079
commit b3a1187c1c
2 changed files with 6 additions and 2 deletions
@@ -353,6 +353,10 @@
<changeType>IMPROVEMENT</changeType>
<description>Shape components shouldn't appear in the BOM</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>IMPROVEMENT</changeType>
<description>Improved rendering of 'Switch (Latching)' symbol to clearly make visual contact between the terminals</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>IMPROVEMENT</changeType>
<description>Consolidate a few keyboard shortcuts for consistency</description>
@@ -110,8 +110,8 @@ public class SwitchLatchingSymbol
offsetX = terminalSize;
offsetY = 0;
} else {
offsetX = terminalSize * 2 / 3;
offsetY = terminalSize / 2;
offsetX = terminalSize / 3;
offsetY = terminalSize / 3;
}
Point2D endPoint = new Point2D.Double(