Add **UI navigation** system

#574
This commit is contained in:
Wojciech Figat
2021-12-21 18:12:54 +01:00
parent 71212420f6
commit c178afdf6b
22 changed files with 918 additions and 54 deletions

View File

@@ -114,7 +114,7 @@ namespace FlaxEngine.GUI
Margin.ShrinkRectangle(ref rect);
var color = IsMouseOver ? MouseOverColor : Color;
var color = IsMouseOver || IsNavFocused ? MouseOverColor : Color;
if (!Enabled)
color *= DisabledTint;
Brush.Draw(rect, color);