From a73295a881ef9cceede7d346bf91b0c4b84930f0 Mon Sep 17 00:00:00 2001 From: shagu Date: Wed, 22 Jan 2020 18:00:17 +0100 Subject: [PATCH] ui-widgets: unify nil textures --- api/ui-widgets.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/ui-widgets.lua b/api/ui-widgets.lua index ff47c7a1..ecc25624 100644 --- a/api/ui-widgets.lua +++ b/api/ui-widgets.lua @@ -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)