mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 12:40:02 +00:00
core: use new media mechanism for all textures
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ pfUI:RegisterModule("addons", 20400, function ()
|
||||
pfUI.addons.close:SetHeight(15)
|
||||
pfUI.addons.close:SetWidth(15)
|
||||
pfUI.addons.close.texture = pfUI.addons.close:CreateTexture("pfBagClose")
|
||||
pfUI.addons.close.texture:SetTexture("Interface\\AddOns\\pfUI\\img\\close")
|
||||
pfUI.addons.close.texture:SetTexture(pfUI.media["img:close"])
|
||||
pfUI.addons.close.texture:ClearAllPoints()
|
||||
pfUI.addons.close.texture:SetPoint("TOPLEFT", pfUI.addons.close, "TOPLEFT", 4, -4)
|
||||
pfUI.addons.close.texture:SetPoint("BOTTOMRIGHT", pfUI.addons.close, "BOTTOMRIGHT", -4, 4)
|
||||
|
||||
Reference in New Issue
Block a user