moved zoom into base templates, fixed performance and memory issues
This commit is contained in:
@@ -11,6 +11,7 @@ local function index(window, q, callback)
|
||||
label.textColor = color.white
|
||||
label.color = color.new("#363ac8")
|
||||
label.borderColor = color.new("#363ac8")
|
||||
label:scaleFont(.075)
|
||||
|
||||
if not q.imageA or q.imageA == "" then
|
||||
error("Missing 'imageA' field for question!")
|
||||
@@ -49,7 +50,8 @@ local function index(window, q, callback)
|
||||
}, imageHolder, plusLabel, imageHolder2)
|
||||
|
||||
window.apply({
|
||||
fitFont={},
|
||||
scaleFont={.7},
|
||||
centerFont={},
|
||||
align=window.ALIGN_CENTER,
|
||||
OnReleased=function(self)
|
||||
if self.text == "Skip" then
|
||||
@@ -62,7 +64,7 @@ local function index(window, q, callback)
|
||||
end
|
||||
|
||||
local function update(dt)
|
||||
label:fitFont()
|
||||
|
||||
end
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user