Remove ButtonFactory indirection, directly reference theme instances
This commit is contained in:
parent
267082b2be
commit
27ceaa1635
5 changed files with 16 additions and 20 deletions
|
|
@ -178,7 +178,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
for (int extruderIndex = 0; extruderIndex < extruderCount; extruderIndex++)
|
||||
{
|
||||
this.AddChild(new TemperatureWidgetHotend(printer, extruderIndex, theme.MenuButtonFactory)
|
||||
this.AddChild(new TemperatureWidgetHotend(printer, extruderIndex, theme)
|
||||
{
|
||||
Margin = new BorderDouble(right: 10)
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue