diff --git a/Hearthstone Deck Tracker/Utility/Themes/CardBarImageBuilder.cs b/Hearthstone Deck Tracker/Utility/Themes/CardBarImageBuilder.cs index 0a99e5aa4..186f0d939 100644 --- a/Hearthstone Deck Tracker/Utility/Themes/CardBarImageBuilder.cs +++ b/Hearthstone Deck Tracker/Utility/Themes/CardBarImageBuilder.cs @@ -38,7 +38,7 @@ public abstract class CardBarImageBuilder protected static readonly Rect BoxRect = new Rect(183, 0, 34, 34); protected static readonly Rect MulliganWinrateBoxRect = new Rect(136, 4, 54, 26); protected static readonly Rect ImageRect = new Rect(83, 0, 134, 34); - protected static readonly Rect CountTextRect = new Rect(198, 0, double.NaN, 34); + protected static readonly Rect CountTextRect = new Rect(196, 0, 14, 34); protected static readonly Rect CostTextRect = new Rect(0, 0, 34, 34); protected static readonly Dictionary Required = new Dictionary @@ -236,9 +236,7 @@ protected void AddCountText(Rect rect) var count = Math.Abs(Card.Count); if(count <= 1) return; - AddText(Math.Min(count, 9), CountFontSize, rect, CountTextBrush, NumbersTypeFace); - if(count > 9) - AddText("+", 13, new Rect(rect.X + 5, 3, double.NaN, double.NaN), CountTextBrush, TextTypeFace); + AddText(count, CountFontSize, rect, CountTextBrush, NumbersTypeFace, centered: true); } protected virtual void AddMulliganWinRate()