Skip to content

Commit

Permalink
https://github.com/oUF-wow/oUF/pull/699
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Nov 21, 2024
1 parent 3184829 commit 586fa2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ElvUI/Core/Modules/Nameplates/Nameplates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,7 @@ function NP:NamePlateCallBack(nameplate, event, unit)
nameplate.widgetContainer = nameplate.blizzPlate and nameplate.blizzPlate.WidgetContainer
if nameplate.widgetContainer then
nameplate.widgetContainer:SetParent(nameplate)
nameplate.widgetContainer:SetIgnoreParentAlpha(true)
nameplate.widgetContainer:ClearAllPoints()

local db = NP.db.widgets
Expand Down Expand Up @@ -887,6 +888,7 @@ function NP:NamePlateCallBack(nameplate, event, unit)

if nameplate.widgetContainer then -- Place Widget Back on Blizzard Plate
nameplate.widgetContainer:SetParent(nameplate.blizzPlate)
nameplate.widgetContainer:SetIgnoreParentAlpha(false)
nameplate.widgetContainer:ClearAllPoints()
nameplate.widgetContainer:SetPoint('TOP', nameplate.blizzPlate.castBar, 'BOTTOM')
end
Expand Down

0 comments on commit 586fa2b

Please sign in to comment.