private vars

This commit is contained in:
2025-12-19 00:10:19 -06:00
parent 0bc0472a2f
commit 4bdbde52a0
21 changed files with 73 additions and 179 deletions

View File

@@ -171,7 +171,7 @@ Timeline.prototype.play = function() {
this.last_tick = now
this.current_time += dt
this.seek(this.current_time)
$_.delay(loop, rate)
$delay(loop, rate)
}
loop()
}
@@ -207,7 +207,7 @@ Timeline.prototype.toJSON = function() {
// Live update loop for fire-and-forget tweens
function live_update_loop() {
TweenEngine.update()
$_.delay(live_update_loop, rate)
$delay(live_update_loop, rate)
}
// Factory function
@@ -227,7 +227,7 @@ function init(default_clock) {
}
// Auto-init with real time if not explicitly initialized
$_.delay(() => {
$delay(() => {
if (!TweenEngine.default_clock) {
init()
}