diff --git a/Blish HUD/Controls/DetailsButton.cs b/Blish HUD/Controls/DetailsButton.cs index 7388cb93a..351c765b5 100644 --- a/Blish HUD/Controls/DetailsButton.cs +++ b/Blish HUD/Controls/DetailsButton.cs @@ -67,7 +67,7 @@ public class DetailsButton : FlowPanel { #region Textures - private readonly AsyncTexture2D _textureFillCrest = AsyncTexture2D.FromAssetId(605004); + private readonly AsyncTexture2D _textureFillCrest = Content.GetTexture(@"controls/detailsbutton/605004"); private readonly AsyncTexture2D _textureVignette = AsyncTexture2D.FromAssetId(605003); private readonly AsyncTexture2D _textureCornerButton = AsyncTexture2D.FromAssetId(605011); private readonly AsyncTexture2D _textureBottomSectionSeparator = AsyncTexture2D.FromAssetId(157218); @@ -342,7 +342,7 @@ public override void PaintBeforeChildren(SpriteBatch spriteBatch, Rectangle boun // Only show the fill crest if we aren't full if (fillPercent < 0.99) - spriteBatch.DrawOnCtrl(this, _textureFillCrest, new Rectangle(0, iconSize - (int) (fillSpace), iconSize, iconSize)); + spriteBatch.DrawOnCtrl(this, _textureFillCrest, new Rectangle(0, iconSize - (int) (fillSpace), iconSize, (int)fillSpace)); } if (_showFillFraction) diff --git a/Blish HUD/ref/controls/detailsbutton/605003.png b/Blish HUD/ref/controls/detailsbutton/605003.png deleted file mode 100644 index 8a8e97a7c..000000000 Binary files a/Blish HUD/ref/controls/detailsbutton/605003.png and /dev/null differ diff --git a/Blish HUD/ref/controls/detailsbutton/605011.png b/Blish HUD/ref/controls/detailsbutton/605011.png deleted file mode 100644 index 50716273f..000000000 Binary files a/Blish HUD/ref/controls/detailsbutton/605011.png and /dev/null differ