Use instance rather than static value

This commit is contained in:
John Lewin 2018-04-24 13:35:22 -07:00
parent 4e715ab7ec
commit 7350cd3e63

View file

@ -401,7 +401,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
public override Color BorderColor
{
get => (this.IsActiveTab) ? ActiveTheme.Instance.PrimaryAccentColor : base.BorderColor;
get => (this.IsActiveTab) ? theme.Colors.PrimaryAccentColor : base.BorderColor;
set => base.BorderColor = value;
}