moved where hiding the tooltip is called when starting to drag for better response

This commit is contained in:
Chandler Cox
2022-10-25 16:38:23 -05:00
parent 91663f0202
commit 2297ba3c86

View File

@@ -948,10 +948,6 @@ namespace FlaxEngine.GUI
{
// Set flag
_isDragOver = true;
// Hide tooltip
Tooltip?.Hide();
return DragDropEffect.None;
}
@@ -998,6 +994,8 @@ namespace FlaxEngine.GUI
[NoAnimate]
public virtual void DoDragDrop(DragData data)
{
// Hide tooltip
Tooltip?.Hide();
Root.DoDragDrop(data);
}