Skip to content

Commit 6c68f1f

Browse files
committed
blizzard come on pls ;w;
1 parent 20f1029 commit 6c68f1f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ElvUI/Core/Modules/Skins/Skins.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,17 @@ function S:HandlePortraitFrame(frame, createBackdrop, noStrip)
241241
local name = frame and frame.GetName and frame:GetName()
242242

243243
local insetFrame = name and _G[name..'Inset'] or frame.Inset
244-
local portraitFrame = name and _G[name..'Portrait'] or frame.Portrait or frame.portrait
244+
local portraitFrame = name and _G[name..'Portrait'] or frame.Portrait
245245
local portraitFrameOverlay = name and _G[name..'PortraitOverlay'] or frame.PortraitOverlay
246246
local artFrameOverlay = name and _G[name..'ArtOverlayFrame'] or frame.ArtOverlayFrame
247+
local portraitFrameAlt = frame.portrait -- blizzard uses the same global name on two frames
247248

248249
if not noStrip then
249250
frame:StripTextures()
250251

251252
if portraitFrame then portraitFrame:SetAlpha(0) end
252253
if portraitFrameOverlay then portraitFrameOverlay:SetAlpha(0) end
254+
if portraitFrameAlt then portraitFrameAlt:SetAlpha(0) end
253255
if artFrameOverlay then artFrameOverlay:SetAlpha(0) end
254256

255257
if insetFrame then

0 commit comments

Comments
 (0)