Use theme instance color rather than static from HLine constructor

This commit is contained in:
John Lewin 2018-04-12 16:08:30 -07:00
parent 96cbdf9abe
commit 9cd45b63e8

View file

@ -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);