mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-17 10:10:50 +00:00
buttons: fix PushedTexture
this fixes textures for buttons in MacroFrame, SpellBook (tab buttons) and professions
This commit is contained in:
committed by
Eric Mauser
parent
47a8106876
commit
ae99792b4e
@@ -417,6 +417,7 @@ function pfUI.api.SkinButton(button, cr, cg, cb, icon, disableHighlight)
|
|||||||
|
|
||||||
if icon then
|
if icon then
|
||||||
HandleIcon(b, icon)
|
HandleIcon(b, icon)
|
||||||
|
b:SetPushedTexture(nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
b:SetFont(pfUI.font_default, pfUI_config.global.font_size, "OUTLINE")
|
b:SetFont(pfUI.font_default, pfUI_config.global.font_size, "OUTLINE")
|
||||||
|
|||||||
@@ -179,6 +179,7 @@ pfUI:RegisterSkin("Profession", "vanilla:tbc", function ()
|
|||||||
icon:ClearAllPoints()
|
icon:ClearAllPoints()
|
||||||
icon:SetPoint("TOPLEFT", 5, -5)
|
icon:SetPoint("TOPLEFT", 5, -5)
|
||||||
SkinButton(icon, nil, nil, nil, nil, true)
|
SkinButton(icon, nil, nil, nil, nil, true)
|
||||||
|
icon:SetPushedTexture(nil)
|
||||||
|
|
||||||
seltitle:SetJustifyV("TOP")
|
seltitle:SetJustifyV("TOP")
|
||||||
seltitle:SetTextColor(.8,.8,.8,1)
|
seltitle:SetTextColor(.8,.8,.8,1)
|
||||||
|
|||||||
Reference in New Issue
Block a user