Remove DisableColor, collapse IsDarkTheme into parent

This commit is contained in:
John Lewin 2018-10-15 08:02:30 -07:00
parent 9a6a8e712d
commit b6a3a5e9cd
15 changed files with 22 additions and 32 deletions

View file

@ -314,7 +314,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
public DockingTabButton(string tabTitle, ThemeConfig theme)
{
this.grayBorder = theme.GetBorderColor(theme.Colors.IsDarkTheme ? 45 : 55);
this.grayBorder = theme.GetBorderColor(theme.IsDarkTheme ? 45 : 55);
this.theme = theme;
this.HAnchor = HAnchor.Fit;
this.VAnchor = VAnchor.Fit | VAnchor.Center;