Just to make it clear, your sintax for 'IsShown' is that it's a function, meaning just as I showed above, IsShown
() requires
()'s.
Lua Code:
if pressed then
if SLDT_Clock:IsShown then
UIFrameFadeOut(SLDT_Clock, 1, 1, 0)
else
UIFrameFadeIn(SLDT_Clock, 1, 0, 1)
end
end
should be..
Lua Code:
if pressed then
if SLDT_Clock:IsShown() then
UIFrameFadeOut(SLDT_Clock, 1, 1, 0)
else
UIFrameFadeIn(SLDT_Clock, 1, 0, 1)
end
end