Add support for themed scene operation icons

- Issue MatterHackers/MCCentral#5501
Pinch/curve/fit icons use theme.InvertIcons
This commit is contained in:
John Lewin 2019-05-10 20:44:33 -07:00
parent c0b7f39fd5
commit 8ef1102e87
8 changed files with 51 additions and 53 deletions

View file

@ -214,7 +214,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
foreach(var primaryAction in primaryActions)
{
// TODO: Run visible/enable rules on actions, conditionally add/enable as appropriate
var button = new IconButton(primaryAction.IconCollector(theme), theme)
var button = new IconButton(primaryAction.IconCollector(theme.InvertIcons), theme)
{
//Name = namedAction.Title + " Button",
ToolTipText = primaryAction.Title,