fix nameplate and target class icons. Fixes #92
This commit is contained in:
parent
b92401f2b3
commit
b3dee35be1
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ function NP:Portrait_PostUpdate()
|
|||
|
||||
if sf.Portrait or (db.portrait and db.portrait.enable) then
|
||||
if db.portrait.classicon and nameplate.isPlayer then
|
||||
self:SetTexture([[Interface\WorldStateFrame\Icons-Classes]])
|
||||
self:SetTexture([[Interface\GLUES\CHARACTERCREATE\UI-CHARACTERCREATE-CLASSES]])
|
||||
self:SetTexCoord(unpack(_G.CLASS_ICON_TCOORDS[nameplate.classFile]))
|
||||
self.backdrop:Hide()
|
||||
else
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ function TC:Initialize()
|
|||
self.frame:SetFrameLevel(12)
|
||||
self.frame.Texture = self.frame:CreateTexture(nil, "ARTWORK")
|
||||
self.frame.Texture:SetAllPoints()
|
||||
self.frame.Texture:SetTexture([[Interface\WorldStateFrame\Icons-Classes]])
|
||||
self.frame.Texture:SetTexture([[Interface\GLUES\CHARACTERCREATE\UI-CHARACTERCREATE-CLASSES]])
|
||||
|
||||
self:ToggleSettings()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue