Skip to content

Commit

Permalink
Merge pull request #217 from bittiez/dev
Browse files Browse the repository at this point in the history
Add cooldown bar fix and update version
  • Loading branch information
bittiez committed Feb 20, 2024
2 parents 54727de + cf011f9 commit b0c8508
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ClassicUO.Client/ClassicUO.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<ApplicationIcon>cuoicon.ico</ApplicationIcon>
<AssemblyName>ClassicUO</AssemblyName>
<RootNamespace>ClassicUO</RootNamespace>
<AssemblyVersion>3.20.0</AssemblyVersion>
<FileVersion>3.20.0</FileVersion>
<AssemblyVersion>3.21.1</AssemblyVersion>
<FileVersion>3.21.1</FileVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
Expand Down
4 changes: 4 additions & 0 deletions src/ClassicUO.Client/Game/UI/Gumps/CoolDownBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ public CoolDownBar(TimeSpan _duration, string _name, ushort _hue, int x, int y,
}

#region LABELS
if (_name.Length > 17)
{
_name = _name.Substring(0, 16) + "..";
}
textLabel = new Label(_name, true, _hue, background.Width, style: FontStyle.BlackBorder, align: Assets.TEXT_ALIGN_TYPE.TS_CENTER)
{
X = background.X
Expand Down

0 comments on commit b0c8508

Please sign in to comment.