Updates to compact side panel view.
This commit is contained in:
parent
b649f3aab3
commit
81b4ede03c
2 changed files with 10 additions and 94 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue