Fixes (2)

This commit is contained in:
Tercio Jose
2022-09-01 19:22:41 -03:00
parent 4fe02b4ddc
commit ae22cfc634
11 changed files with 56 additions and 54 deletions
+4 -4
View File
@@ -228,10 +228,10 @@ function gump:NewDetailsButton (parent, container, instancia, func, param1, para
end
function new_button:InstallCustomTexture (texture, rect)
new_button:SetNormalTexture(nil)
new_button:SetPushedTexture(nil)
new_button:SetDisabledTexture(nil)
new_button:SetHighlightTexture(nil)
new_button:SetNormalTexture("")
new_button:SetPushedTexture("")
new_button:SetDisabledTexture("")
new_button:SetHighlightTexture("")
texture = texture or "Interface\\AddOns\\Details\\images\\default_button"
new_button.texture = new_button:CreateTexture (nil, "background")