Pass sceneContext rather than scene to IsEnabled

- Revise button group membership
This commit is contained in:
jlewin 2019-06-17 13:27:08 -07:00
parent e5919ca89f
commit fc42f4094d
3 changed files with 109 additions and 124 deletions

View file

@ -41,7 +41,7 @@ namespace MatterHackers.Agg.UI
{
public Action<ISceneContext> Action { get; set; }
public Func<InteractiveScene, bool> IsEnabled { get; set; } = (scene) => true;
public Func<ISceneContext, bool> IsEnabled { get; set; } = (sceneContext) => true;
public Type OperationType { get; set; }