| 141 | } |
| 142 | |
| 143 | TSharedPtr<FEdGraphSchemaAction> FFlowSpawnNodeCommands::GetActionByChord(const FInputChord& InChord) const |
| 144 | { |
| 145 | if (InChord.IsValidChord()) |
| 146 | { |
| 147 | for (const TPair<UClass*, TSharedPtr<FUICommandInfo>>& NodeCommand : NodeCommands) |
| 148 | { |
| 149 | if (NodeCommand.Value.Get()->HasActiveChord(InChord)) |
| 150 | { |
| 151 | return GetActionByClass(NodeCommand.Key); |
| 152 | } |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | return TSharedPtr<FEdGraphSchemaAction>(); |
| 157 | } |
| 158 | |
| 159 | TSharedPtr<FEdGraphSchemaAction> FFlowSpawnNodeCommands::GetActionByClass(UClass* NodeClass) const |
| 160 | { |
no test coverage detected