Consolidate DisplayMode logic into IsTouchscreen setting
This commit is contained in:
parent
e129d72cc1
commit
78c04a0e37
12 changed files with 13 additions and 35 deletions
|
|
@ -85,7 +85,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
tabControl.TabBar.Padding = new BorderDouble(top: 6);
|
||||
|
||||
RGBA_Bytes selectedTabColor;
|
||||
if (UserSettings.Instance.DisplayMode == ApplicationDisplayType.Responsive)
|
||||
if (UserSettings.Instance.IsTouchScreen)
|
||||
{
|
||||
tabControl.TabBar.BackgroundColor = ActiveTheme.Instance.PrimaryBackgroundColor;
|
||||
selectedTabColor = ActiveTheme.Instance.TabLabelSelected;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue