moved zoom into base templates, fixed performance and memory issues

This commit is contained in:
2026-06-10 22:21:56 -07:00
parent 9a908e89ae
commit e8ca768e87
11 changed files with 151 additions and 113 deletions
+4 -2
View File
@@ -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 {