Skip to content

Commit

Permalink
hide this extra texture (need to improve this)
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Jan 1, 2025
1 parent 8d29617 commit c957768
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ElvUI/Cata/Modules/Skins/Gossip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ function S:GossipFrame()
_G.QuestFont:SetTextColor(1, 1, 1)
_G.ItemTextPageText:SetTextColor('P', 1, 1, 1)

-- need to make this better
_G.ItemTextMaterialBotLeft:SetAlpha(0)
_G.ItemTextMaterialBotRight:SetAlpha(0)
_G.ItemTextMaterialTopLeft:SetAlpha(0)
_G.ItemTextMaterialTopRight:SetAlpha(0)

hooksecurefunc(_G.ItemTextPageText, 'SetTextColor', ItemTextPage_SetTextColor)
hooksecurefunc(GreetingPanel.ScrollBox, 'Update', GreetingPanel_Update)

Expand Down
6 changes: 6 additions & 0 deletions ElvUI/Classic/Modules/Skins/Gossip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ function S:GossipFrame()
_G.QuestFont:SetTextColor(1, 1, 1)
_G.ItemTextPageText:SetTextColor('P', 1, 1, 1)

-- need to make this better
_G.ItemTextMaterialBotLeft:SetAlpha(0)
_G.ItemTextMaterialBotRight:SetAlpha(0)
_G.ItemTextMaterialTopLeft:SetAlpha(0)
_G.ItemTextMaterialTopRight:SetAlpha(0)

hooksecurefunc(_G.ItemTextPageText, 'SetTextColor', ItemTextPage_SetTextColor)
hooksecurefunc(GreetingPanel.ScrollBox, 'Update', GreetingPanel_Update)

Expand Down
1 change: 0 additions & 1 deletion ElvUI/Mainline/Modules/Skins/Gossip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ function S:GossipFrame()
if GossipFrame.Background then
GossipFrame.Background:Hide()
end

else
local pageBG = _G.ItemTextFramePageBg:GetTexture()
_G.ItemTextFrame:StripTextures()
Expand Down

0 comments on commit c957768

Please sign in to comment.