Skip to content

Commit 4e7d649

Browse files
committed
fixed support for older unity
1 parent a94a166 commit 4e7d649

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

System/Windows/Forms/Application.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,8 @@ internal void OnLostFocus()
360360
hoveredControl.RaiseOnLostFocus(EventArgs.Empty);
361361
}
362362

363-
LostFocus?.Invoke(this, EventArgs.Empty);
363+
if (LostFocus != null)
364+
LostFocus.Invoke(this, EventArgs.Empty);
364365
}
365366
internal static void StopDragDrop()
366367
{

0 commit comments

Comments
 (0)