use window.requestAnimationFrame instead of timer based event triggering
This commit is contained in:
parent
d9330cbab9
commit
497aec2114
2 changed files with 9 additions and 2 deletions
|
|
@ -86,4 +86,4 @@ setRenderer createDom
|
|||
proc onload(session: cstring) {.exportc.} =
|
||||
for i in 0..10_000:
|
||||
entries.add("Entry " & $i)
|
||||
redraw()
|
||||
init()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue