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
@@ -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 {