ui-widgets: unify nil textures

This commit is contained in:
shagu
2020-01-22 18:00:17 +01:00
parent 7892f42c92
commit a73295a881
+2 -2
View File
@@ -295,8 +295,8 @@ function pfUI.api.SkinButton(button, cr, cg, cb, icon, disableHighlight)
pfUI.api.CreateBackdrop(b, nil, true)
b:SetNormalTexture("")
b:SetHighlightTexture("")
b:SetPushedTexture(nil)
b:SetDisabledTexture(nil)
b:SetPushedTexture("")
b:SetDisabledTexture("")
if b.SetCheckedTexture then
b:SetCheckedTexture(nil)
function b.SetChecked(self, checked)