moved zoom into base templates, fixed performance and memory issues
This commit is contained in:
+2
-2
@@ -37,6 +37,8 @@ local function startTimer(opt)
|
||||
tlabel.align = gui.ALIGN_CENTER
|
||||
tlabel:fullFrame()
|
||||
tlabel.visibility = 0
|
||||
tlabel:centerFont()
|
||||
tlabel:scaleFont(.5)
|
||||
tpie.color = opt.startColor
|
||||
tpie.visibility = opt.visibility
|
||||
|
||||
@@ -82,8 +84,6 @@ local function startTimer(opt)
|
||||
|
||||
if opt.autoText then
|
||||
tlabel.text = num
|
||||
tlabel:fitFont(nil, nil, {scale=1/2})
|
||||
tlabel:centerFont()
|
||||
end
|
||||
|
||||
if opt.finegrained then
|
||||
|
||||
Reference in New Issue
Block a user