From ce15737189e8e5c81318a216c8f5475a2ebe5d0e Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Tue, 8 Apr 2008 16:53:01 +0000 Subject: [PATCH] texture tweaks --- Button.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Button.lua b/Button.lua index 937d7ea..877721e 100644 --- a/Button.lua +++ b/Button.lua @@ -407,6 +407,9 @@ function Button:ShowButton() end function Button:HideButton() + self.textureCache.pushed = self.pushedTexture:GetTexture() + self.textureCache.highlight = self.highlightTexture:GetTexture() + self.pushedTexture:SetTexture("") self.highlightTexture:SetTexture("")