[orx-timer] Fix deprecation of .postpone() in demo

This commit is contained in:
Abe Pazos
2024-07-30 16:06:50 +00:00
committed by GitHub
parent fb8357911c
commit fdde6ad7b9

View File

@@ -10,7 +10,8 @@ import org.openrndr.extra.timer.repeat
fun main() = application {
program {
val event = Event<Any?>().postpone(true)
val event = Event<Any?>()
event.postpone = true
event.listen {
drawer.circle(width / 2.0, height / 2.0, 200.0)
}
@@ -30,4 +31,4 @@ fun main() = application {
event.deliver()
}
}
}
}