Remove unnecessary closure
This commit is contained in:
parent
8b9f455b43
commit
7148be8c25
2 changed files with 3 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
: base(theme)
|
||||
{
|
||||
this.sceneContext = sceneContext;
|
||||
this.PopupContent = () => ShowViewOptions(sceneContext, theme);
|
||||
this.PopupContent = ShowViewOptions;
|
||||
this.HAnchor = HAnchor.Fit;
|
||||
this.VAnchor = VAnchor.Fit;
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
}
|
||||
}
|
||||
|
||||
private GuiWidget ShowViewOptions(BedConfig sceneContext, ThemeConfig theme)
|
||||
private GuiWidget ShowViewOptions()
|
||||
{
|
||||
var popupMenu = new PopupMenu(ApplicationController.Instance.MenuTheme);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue