Quantcast

Next button correctly removes desaturation from the Previous button

Cogwheel-17646 [04-29-08 - 01:21]
Next button correctly removes desaturation from the Previous button
Filename
WowLua.lua
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