Skip to content

Commit

Permalink
Fix for recently black tooltip text
Browse files Browse the repository at this point in the history
  • Loading branch information
bittiez committed Feb 10, 2024
1 parent 69568d8 commit 10e004f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ClassicUO.Client/Game/UI/Controls/TextBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ public TextBox

public static Color ConvertHueToColor(int hue)
{
if (hue == 0xFFFF || hue == ushort.MaxValue)
{
return Color.White;
}
return new Color() { PackedValue = HuesLoader.Instance.GetHueColorRgba8888(31, (ushort)hue) };
}

Expand Down

0 comments on commit 10e004f

Please sign in to comment.