Use instance member rather than external dependency

This commit is contained in:
John Lewin 2018-04-07 12:08:54 -07:00
parent 7454d79b85
commit 568236ba80

View file

@ -252,7 +252,7 @@ namespace MatterHackers.MatterControl
public Color GetBorderColor(int alpha)
{
return new Color(ActiveTheme.Instance.SecondaryTextColor, alpha);
return new Color(this.Colors.SecondaryTextColor, alpha);
}
// Compute a fixed color from a source and a target alpha