Pass sceneContext rather than scene to IsEnabled
- Revise button group membership
This commit is contained in:
parent
e5919ca89f
commit
fc42f4094d
3 changed files with 109 additions and 124 deletions
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue