Updates to compact side panel view.

This commit is contained in:
Kevin Pope 2014-03-24 12:06:01 -07:00
parent b649f3aab3
commit 81b4ede03c
2 changed files with 10 additions and 94 deletions

View file

@ -26,15 +26,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
public void SetEnableLevel(EnableLevel enabledLevel)
{
if (ApplicationWidget.Instance.WidescreenMode)
{
disableOverlay.BackgroundColor = new RGBA_Bytes(ActiveTheme.Instance.PrimaryBackgroundColor, 160);
}
else
{
disableOverlay.BackgroundColor = new RGBA_Bytes(ActiveTheme.Instance.PrimaryAccentColor, 160);
}
disableOverlay.BackgroundColor = new RGBA_Bytes(ActiveTheme.Instance.PrimaryBackgroundColor, 160);
switch (enabledLevel)
{