Remove debug statements when using the slider
urnati [08-08-19 - 21:36]
Remove debug statements when using the slider
diff --git a/TitanClassicPerformance/TitanClassicPerformance.lua b/TitanClassicPerformance/TitanClassicPerformance.lua
index b5fc541..0027a40 100644
--- a/TitanClassicPerformance/TitanClassicPerformance.lua
+++ b/TitanClassicPerformance/TitanClassicPerformance.lua
@@ -725,10 +725,6 @@ function TitanPanelPerfControlSlider_OnShow(self)
self:SetValue(CalcAppNum(TitanGetVar(TITAN_PERFORMANCE_ID, "NumOfAddons")));
-- self:SetValue((TitanGetVar(TITAN_PERFORMANCE_ID, "NumOfAddons")));
TitanPanelPerfControlFrame:SetBackdropColor(0, 0, 0, 1)
-TitanDebug("Slider_OnShow:"
-.." : "..(self:GetValue() or "?")
-.." : "..(self:GetValueStep() or "?")
-);
local scale = _G[drop_down.."1"]:GetScale()
local drop_arrow = drop_down.."2Button4ExpandArrow"
@@ -752,10 +748,6 @@ end
function TitanPanelPerfControlSlider_OnValueChanged(self, a1)
local val = CalcAppNum(self:GetValue()) -- grab new value
-TitanDebug("Slider_OnValueChanged:"
-.." : "..(self:GetValue() or "?")
-.." : "..(val or "?")
-);
_G[self:GetName().."Text"]:SetText(val);
--[[
if a1 == -1 then