hide tooltip while dragging

This commit is contained in:
Chandler Cox
2022-10-05 22:05:27 -05:00
parent 76a66cf400
commit 40f7980c18

View File

@@ -960,6 +960,12 @@ namespace FlaxEngine.GUI
[NoAnimate]
public virtual DragDropEffect OnDragMove(ref Float2 location, DragData data)
{
// Update tooltip
if (_tooltipUpdate != null)
{
SetUpdate(ref _tooltipUpdate, null);
Tooltip.Hide();
}
return DragDropEffect.None;
}