From 834e483700c1b01aa18ce5f23dc4c1be5e721343 Mon Sep 17 00:00:00 2001 From: Parnic Date: Mon, 29 Mar 2010 06:11:13 +0000 Subject: [PATCH] - made "Reverse direction" option be grayed out if the bar is disabled --- IceBarElement.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IceBarElement.lua b/IceBarElement.lua index b8d3587..a7b3d6a 100644 --- a/IceBarElement.lua +++ b/IceBarElement.lua @@ -178,6 +178,9 @@ function IceBarElement.prototype:GetOptions() self.moduleSettings.reverse = value self:Redraw() end, + disabled = function() + return not self.moduleSettings.enabled + end, order = 32 }