Fix actions not showing the provider and not showing anything when dragging actions without icons (#11897)

This commit is contained in:
DrSmugleaf
2022-10-13 19:14:53 +02:00
committed by GitHub
parent 058260cf75
commit 69bee529c5
4 changed files with 210 additions and 62 deletions

View File

@@ -34,6 +34,7 @@ namespace Content.Client.Actions
public event Action<ActionType>? ActionAdded;
public event Action<ActionType>? ActionRemoved;
public event OnActionReplaced? ActionReplaced;
public event Action? ActionsUpdated;
public event Action<ActionsComponent>? LinkActions;
public event Action? UnlinkActions;
public event Action? ClearAssignments;
@@ -95,6 +96,8 @@ namespace Content.Client.Actions
{
ActionAdded?.Invoke(action);
}
ActionsUpdated?.Invoke();
}
protected override void AddActionInternal(ActionsComponent comp, ActionType action)