process page test

This commit is contained in:
MihailRis
2024-04-23 04:51:00 +03:00
parent a34fff3515
commit f8f6ffc0c5
11 changed files with 58 additions and 33 deletions
+10
View File
@@ -0,0 +1,10 @@
function on_progress(done, total)
local progress = done / total
document.progress_label.text = string.format(
"%s/%s (%s%%)", done, total, math.floor(progress*100)
)
end
function on_open(title)
document.title_label.text = title
end