From 6b0ead59d2774c2f484d0fdb18880149d5bd04b5 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 27 Dec 2022 20:24:01 +0100 Subject: [PATCH] Fix code style --- Source/Engine/UI/GUI/Common/Button.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Engine/UI/GUI/Common/Button.cs b/Source/Engine/UI/GUI/Common/Button.cs index 190ba8eff..30ff25aa1 100644 --- a/Source/Engine/UI/GUI/Common/Button.cs +++ b/Source/Engine/UI/GUI/Common/Button.cs @@ -75,7 +75,7 @@ namespace FlaxEngine.GUI /// Event fired when users mouse enters the control. /// public event Action HoverBegin; - + /// /// Event fired when users mouse leaves the control. /// @@ -246,6 +246,7 @@ namespace FlaxEngine.GUI public override void OnMouseEnter(Float2 location) { base.OnMouseEnter(location); + HoverBegin?.Invoke(); } @@ -256,7 +257,7 @@ namespace FlaxEngine.GUI { OnPressEnd(); } - + HoverEnd?.Invoke(); base.OnMouseLeave();