Files
UnrealEngineUWP/Engine/Source/Editor/EditorWidgets
Mateo Egey 962260012b - Added bool attribute to SDropTarget to stop AllowDrop function call from executing every frame for overlay visibility.
This results in the drop target overlay visibility only appearing when actually hovering the drop target when set to true.
This is useful for drop targets that are used in conjunction with other widgets with heavy drag & drop usage such as tree views.
Defaults to false to maintain previous behavior.

- Added OnDragEnter & OnDragLeave events to allow proper handling of tooltips (i.e. setting a tooltip description when hovering a drop target, and resetting it when leaving again)
AllowDrop could not be used for this since it was executed every frame for overlay visibility checks.

#jira UE-169774
#rb lauren.barnes
#preflight skip

#ushell-cherrypick of 23078698 by swarm

[CL 23098392 by Mateo Egey in ue5-main branch]
2022-11-11 11:02:53 -05:00
..