From 7508f39d5e71affa490a64db1261129567e79d0d Mon Sep 17 00:00:00 2001 From: John Lewin Date: Mon, 1 Jan 2018 11:33:38 -0800 Subject: [PATCH] Don't manipulate caller supplied background --- PartPreviewWindow/PopupMenuButton.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PartPreviewWindow/PopupMenuButton.cs b/PartPreviewWindow/PopupMenuButton.cs index e5658a9d4..4af70858f 100644 --- a/PartPreviewWindow/PopupMenuButton.cs +++ b/PartPreviewWindow/PopupMenuButton.cs @@ -46,7 +46,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow { viewWidget.Selectable = false; viewWidget.BackgroundColor = Color.Transparent; - this.BackgroundColor = ApplicationController.Instance.Theme.SlightShade; this.DisabledColor = new Color(ActiveTheme.Instance.SecondaryTextColor, 50); } @@ -101,6 +100,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow protected override void OnBeforePopup() { + // Force off-white if content has transparent background if (this.PopupContent.BackgroundColor == Color.Transparent) { this.PopupContent.BackgroundColor = new Color("#f6f6f6");