Use instance member rather than external dependency
This commit is contained in:
parent
7454d79b85
commit
568236ba80
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue