Jumper color switches to red on its own

This commit is contained in:
Branislav Stojkovic
2019-01-28 10:59:34 +01:00
parent 0c76b93db0
commit d5f3457c43
5 changed files with 5 additions and 1 deletions
Binary file not shown.
@@ -339,7 +339,7 @@ public abstract class AbstractLeadedComponent<T> extends AbstractTransparentComp
observer.stopTrackingContinuityArea();
g2d.setStroke(ObjectCache.getInstance().fetchBasicStroke(1f));
leadColor = getLeadColorForPainting(componentState);
Color leadColor = getLeadColorForPainting(componentState);
g2d.setColor(leadColor.darker());
g2d.draw(lineShape);
} else {
Binary file not shown.
Binary file not shown.
+4
View File
@@ -2330,6 +2330,10 @@
<changeType>IMPROVEMENT</changeType>
<description>Better selection rendering for a few components, mostly electro-mechanical</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>BUG_FIX</changeType>
<description>Jumper color switches to red on its own</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>BUG_FIX</changeType>
<description>Reverted Ohm symbol changes that made it render wrong on some systems</description>