Remove unused instance

This commit is contained in:
John Lewin 2017-08-03 19:05:42 -07:00
parent 932b6aca4b
commit 41d1a8868c

View file

@ -134,12 +134,10 @@ namespace MatterHackers.MatterControl
this.ButtonFactory = new TextImageButtonFactory(commonOptions);
var smallMarginOptions = commonOptions.Clone(options =>
this.SmallMarginButtonFactory = new TextImageButtonFactory(commonOptions.Clone(options =>
{
options.Margin = new BorderDouble(8, 0);
});
this.SmallMarginButtonFactory = new TextImageButtonFactory(smallMarginOptions);
}));
this.MenuButtonFactory = new TextImageButtonFactory(commonOptions.Clone(options =>
{