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

@ -92,7 +92,7 @@ namespace MatterHackers.MatterControl.Plugins.Lithophane
},
IsEnabled = (sceneItem) => true,
IsVisible = (sceneItem) => true,
IconCollector = (theme) => AggContext.StaticData.LoadIcon("lithophane.png", 16, 16, theme.InvertIcons)
IconCollector = (invertIcon) => AggContext.StaticData.LoadIcon("lithophane.png", 16, 16, invertIcon)
});
}