From 79e0f7381a4528016376bad62938f8123923ab17 Mon Sep 17 00:00:00 2001 From: Cogwheel-17646 Date: Tue, 29 Apr 2008 01:21:25 +0000 Subject: [PATCH] Next button correctly removes desaturation from the Previous button --- WowLua.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WowLua.lua b/WowLua.lua index 8324e79..e11add3 100644 --- a/WowLua.lua +++ b/WowLua.lua @@ -278,14 +278,14 @@ function WowLua.Button_OnClick(self) SetDesaturation(WowLuaButton_Next:GetNormalTexture(),true) else WowLuaButton_Next:Enable() - SetDesaturation(WowLuaButton_Next:GetNormalTexture(),true) + SetDesaturation(WowLuaButton_Next:GetNormalTexture(),false) end if WowLuaDB.currentPage == 1 then WowLuaButton_Previous:Disable() SetDesaturation(WowLuaButton_Previous:GetNormalTexture(),true) else WowLuaButton_Previous:Enable() - SetDesaturation(WowLuaButton_Previous:GetNormalTexture(),true) + SetDesaturation(WowLuaButton_Previous:GetNormalTexture(),false) end elseif operation == "Run" then -- Run the script, if there is an error then highlight it -- 1.7.9.5