bugfix: now works, still sluggish
This commit is contained in:
parent
4d72d5a999
commit
fe6e4efc29
1 changed files with 2 additions and 0 deletions
|
|
@ -133,6 +133,8 @@ proc dodraw() =
|
|||
else:
|
||||
let olddom = document.getElementById("ROOT")
|
||||
updateElement(nil, olddom, newtree, currentTree)
|
||||
assert same(newtree, document.getElementById("ROOT"))
|
||||
currentTree = newtree
|
||||
|
||||
proc redraw*() =
|
||||
# we buffer redraw requests:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue