frame:SetScale(db.scale)
candy:RegisterCandyBarGroup(name)
candy:SetCandyBarGroupPoint(name, "BOTTOM", frame, "BOTTOM", 0, 0)
if (db.grow) then
candy:SetCandyBarGroupGrowth(name, true) --bars grow upwards /please test
self:Print("Hello World!")
else
candy:SetCandyBarGroupGrowth(name, false) --bars grow downwards /please test
end
the colored should be here
or SetCandyBarGroupGrowth would not effect |