From 9cd45b63e82cff7db5f97ab33d60b17ff4c690a9 Mon Sep 17 00:00:00 2001 From: John Lewin Date: Thu, 12 Apr 2018 16:08:30 -0700 Subject: [PATCH] Use theme instance color rather than static from HLine constructor --- PartPreviewWindow/PopupMenu.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PartPreviewWindow/PopupMenu.cs b/PartPreviewWindow/PopupMenu.cs index d88ebad08..a872e441c 100644 --- a/PartPreviewWindow/PopupMenu.cs +++ b/PartPreviewWindow/PopupMenu.cs @@ -64,7 +64,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow { var line = new HorizontalLine(40) { - Margin = new BorderDouble(PopupMenu.GutterWidth - 8, 1, 8, 1) + Margin = new BorderDouble(PopupMenu.GutterWidth - 8, 1, 8, 1), + BackgroundColor = theme.GetBorderColor(40) }; this.AddChild(line);