We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5a28c4 commit 373190dCopy full SHA for 373190d
1 file changed
Source/FlowEditor/Private/Graph/Widgets/SFlowGraphNode.cpp
@@ -375,8 +375,13 @@ void SFlowGraphNode::UpdateGraphNode()
375
.IsGraphNodeHovered(this, &SGraphNode::IsHovered);
376
377
GetOrAddSlot(ENodeZone::TopCenter)
378
+#if ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION < 6
379
+ .SlotOffset(TAttribute<FVector2D>(CommentBubble.Get(), &SCommentBubble::GetOffset))
380
+ .SlotSize(TAttribute<FVector2D>(CommentBubble.Get(), &SCommentBubble::GetSize))
381
+#else
382
.SlotOffset2f(TAttribute<FVector2f>(CommentBubble.Get(), &SCommentBubble::GetOffset2f))
383
.SlotSize2f(TAttribute<FVector2f>(CommentBubble.Get(), &SCommentBubble::GetSize2f))
384
+#endif
385
.AllowScaling(TAttribute<bool>(CommentBubble.Get(), &SCommentBubble::IsScalingAllowed))
386
.VAlign(VAlign_Top)
387
[
0 commit comments