Skip to content

Commit

Permalink
Ensure E/Q buttons for HUD use transparent background
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanmoffat committed Apr 10, 2022
1 parent 8ed1699 commit 43de64b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EndlessClient/HUD/Controls/HudControlsFactory.cs
Expand Up @@ -308,7 +308,7 @@ private IGameComponent CreateStatePanel(InGameStates whichState)
private IGameComponent CreateSessionExpButton()
{
var btn = new XNAButton(
_nativeGraphicsManager.TextureFromResource(GFXTypes.PostLoginUI, 58),
_nativeGraphicsManager.TextureFromResource(GFXTypes.PostLoginUI, 58, transparent: true),
new Vector2(55, 0),
new Rectangle(331, 30, 22, 14),
new Rectangle(331, 30, 22, 14))
Expand All @@ -323,7 +323,7 @@ private IGameComponent CreateSessionExpButton()
private IGameComponent CreateQuestButton()
{
var btn = new XNAButton(
_nativeGraphicsManager.TextureFromResource(GFXTypes.PostLoginUI, 58),
_nativeGraphicsManager.TextureFromResource(GFXTypes.PostLoginUI, 58, transparent: true),
new Vector2(77, 0),
new Rectangle(353, 30, 22, 14),
new Rectangle(353, 30, 22, 14))
Expand Down

0 comments on commit 43de64b

Please sign in to comment.