mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 06:00:00 +00:00
core: use new media mechanism for all textures
This commit is contained in:
+2
-2
@@ -549,7 +549,7 @@ pfUI:RegisterModule("panel", 20400, function()
|
||||
pfUI.panel.left.hide:SetPoint("LEFT", 0, 0)
|
||||
CreateBackdrop(pfUI.panel.left.hide, default_border)
|
||||
pfUI.panel.left.hide.texture = pfUI.panel.left.hide:CreateTexture("pfPanelLeftHide")
|
||||
pfUI.panel.left.hide.texture:SetTexture("Interface\\AddOns\\pfUI\\img\\left")
|
||||
pfUI.panel.left.hide.texture:SetTexture(pfUI.media["img:left"])
|
||||
pfUI.panel.left.hide.texture:ClearAllPoints()
|
||||
pfUI.panel.left.hide.texture:SetPoint("TOPLEFT", pfUI.panel.left.hide, "TOPLEFT", 2, -4)
|
||||
pfUI.panel.left.hide.texture:SetPoint("BOTTOMRIGHT", pfUI.panel.left.hide, "BOTTOMRIGHT", -2, 4)
|
||||
@@ -630,7 +630,7 @@ pfUI:RegisterModule("panel", 20400, function()
|
||||
pfUI.panel.right.hide:SetPoint("RIGHT", 0, 0)
|
||||
CreateBackdrop(pfUI.panel.right.hide, default_border)
|
||||
pfUI.panel.right.hide.texture = pfUI.panel.right.hide:CreateTexture("pfPanelRightHide")
|
||||
pfUI.panel.right.hide.texture:SetTexture("Interface\\AddOns\\pfUI\\img\\right")
|
||||
pfUI.panel.right.hide.texture:SetTexture(pfUI.media["img:right"])
|
||||
pfUI.panel.right.hide.texture:ClearAllPoints()
|
||||
pfUI.panel.right.hide.texture:SetPoint("TOPLEFT", pfUI.panel.right.hide, "TOPLEFT", 2, -4)
|
||||
pfUI.panel.right.hide.texture:SetPoint("BOTTOMRIGHT", pfUI.panel.right.hide, "BOTTOMRIGHT", -2, 4)
|
||||
|
||||
Reference in New Issue
Block a user