Skip to content

Commit

Permalink
Add isDelayed on some fields
Browse files Browse the repository at this point in the history
  • Loading branch information
glabute committed Jun 11, 2024
1 parent 3131ed9 commit 5678056
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public override VisualElement CreateInspectorGUI()
var blend = row.AddChild(new PropertyField(null, "") { bindingPath = SerializedPropertyHelper.PropertyName(() => def.Blend), name = "blendSelector" });
var hold = row.AddChild(InspectorUtility.CreateDraggableField(() => def.Hold, row.AddChild(new Label(" ")), out _));
hold.SafeSetIsDelayed();
FormatInstructionElement(false, vcamSel, blend, hold);
return row;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ public override VisualElement CreateInspectorGUI()
});
var wait = row.AddChild(InspectorUtility.CreateDraggableField(() => def.ActivateAfter, row.AddChild(new Label(" ")), out _));
wait.SafeSetIsDelayed();
var hold = row.AddChild(InspectorUtility.CreateDraggableField(() => def.MinDuration, row.AddChild(new Label(" ")), out _));
hold.SafeSetIsDelayed();
FormatInstructionElement(false, stateSel, vcamSel, wait, hold);
Expand Down

0 comments on commit 5678056

Please sign in to comment.