Merge branch 'experimental'

This commit is contained in:
JuanZoran
2023-02-01 17:03:02 +08:00
8 changed files with 151 additions and 109 deletions

View File

@ -3,25 +3,25 @@ local display = function(self)
end
local target = self.times
if self.sync then
local times = self.times
if times then
for i = 1, self.times do
if target then
for i = 1, target do
if self.run then
self:frame(i)
end
end
else
while self.run do
self:frame()
end
callback()
end
callback()
else
local frame
if self.times then
local target = self.times
if target then
local times = 0
frame = function()
if self.run and times < target then