- Added floor, ceil and abs to reactive env

- Changed BasaltProgram env (not finished)
- Fixed program not setting running to false once coroutine is dead
This commit is contained in:
Robert Jelic
2025-04-23 20:39:35 +02:00
parent 743e2f20fa
commit b042f1bba1
4 changed files with 29 additions and 11 deletions

View File

@@ -39,7 +39,6 @@ local lazyElementCount = 10
local lazyElementsTimer = 0
local isLazyElementsTimerActive = false
local function queueLazyElements()
if(isLazyElementsTimerActive)then return end
lazyElementsTimer = os.startTimer(0.2)
@@ -237,6 +236,7 @@ local function updateEvent(event, ...)
for _, frame in pairs(activeFrames) do
frame:dispatchEvent(event, ...)
end
--activeFrames[main]:dispatchEvent(event, ...) -- continue here
end
for _, func in ipairs(basalt._schedule) do