Fix content finder item selection issue due to mouse leave event
This commit is contained in:
@@ -102,19 +102,6 @@ namespace FlaxEditor.Surface.ContextMenu
|
||||
_finder.Hand = true;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnMouseLeave()
|
||||
{
|
||||
base.OnMouseLeave();
|
||||
|
||||
var root = RootWindow;
|
||||
if (!_finder.Hand && root != null)
|
||||
{
|
||||
root.Cursor = CursorType.Default;
|
||||
_finder.SelectedItem = null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnDestroy()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user