buttons: fix PushedTexture

this fixes textures for buttons in MacroFrame, SpellBook (tab buttons) and professions
This commit is contained in:
2020-03-24 01:51:15 +03:00
committed by Eric Mauser
parent 47a8106876
commit ae99792b4e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -417,6 +417,7 @@ function pfUI.api.SkinButton(button, cr, cg, cb, icon, disableHighlight)
if icon then
HandleIcon(b, icon)
b:SetPushedTexture(nil)
end
b:SetFont(pfUI.font_default, pfUI_config.global.font_size, "OUTLINE")
+1
View File
@@ -179,6 +179,7 @@ pfUI:RegisterSkin("Profession", "vanilla:tbc", function ()
icon:ClearAllPoints()
icon:SetPoint("TOPLEFT", 5, -5)
SkinButton(icon, nil, nil, nil, nil, true)
icon:SetPushedTexture(nil)
seltitle:SetJustifyV("TOP")
seltitle:SetTextColor(.8,.8,.8,1)