fix nameplate and target class icons. Fixes #92
This commit is contained in:
@@ -12,7 +12,7 @@ function NP:Portrait_PostUpdate()
|
|||||||
|
|
||||||
if sf.Portrait or (db.portrait and db.portrait.enable) then
|
if sf.Portrait or (db.portrait and db.portrait.enable) then
|
||||||
if db.portrait.classicon and nameplate.isPlayer 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:SetTexCoord(unpack(_G.CLASS_ICON_TCOORDS[nameplate.classFile]))
|
||||||
self.backdrop:Hide()
|
self.backdrop:Hide()
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ function TC:Initialize()
|
|||||||
self.frame:SetFrameLevel(12)
|
self.frame:SetFrameLevel(12)
|
||||||
self.frame.Texture = self.frame:CreateTexture(nil, "ARTWORK")
|
self.frame.Texture = self.frame:CreateTexture(nil, "ARTWORK")
|
||||||
self.frame.Texture:SetAllPoints()
|
self.frame.Texture:SetAllPoints()
|
||||||
self.frame.Texture:SetTexture([[Interface\WorldStateFrame\Icons-Classes]])
|
self.frame.Texture:SetTexture([[Interface\GLUES\CHARACTERCREATE\UI-CHARACTERCREATE-CLASSES]])
|
||||||
|
|
||||||
self:ToggleSettings()
|
self:ToggleSettings()
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user