Prefer local reference to static
This commit is contained in:
parent
b236fdf53c
commit
bd3db106b0
20 changed files with 45 additions and 43 deletions
|
|
@ -85,7 +85,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
textColor = ActiveTheme.Instance.PrimaryAccentColor
|
||||
};
|
||||
|
||||
var buttonFactory = ApplicationController.Instance.Theme.ButtonFactory;
|
||||
var buttonFactory = theme.ButtonFactory;
|
||||
|
||||
FlowLayoutWidget mainContainer = new FlowLayoutWidget(FlowDirection.TopToBottom)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue