Use instance rather than static value
This commit is contained in:
parent
4e715ab7ec
commit
7350cd3e63
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue