We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 885fc00 commit b2bf928Copy full SHA for b2bf928
1 file changed
ChatNotif/Options.lua
@@ -141,7 +141,7 @@ function OptionsControl()
141
142
local count = 0;
143
resetColorsButton.Click = function(sender, args)
144
- count = count + 1;
+ count = (count + 1) % 2;
145
146
if count == 1 then
147
resetColorsButton:SetText("Sure? Clic again to reset colors");
@@ -150,6 +150,7 @@ function OptionsControl()
150
for name, channelCheckbox in pairs(channelsCheckbox) do
151
channelCheckbox:SetForeColor(SETTINGS.DEFAULT_COLOR);
152
end
153
+ resetColorsButton:SetText("Clic to reset colors");
154
155
156
0 commit comments