another bugfix for smart-diffing

This commit is contained in:
Andreas Rumpf 2017-06-23 21:33:48 +02:00
commit f89da765fa

View file

@ -321,7 +321,7 @@ proc diff(parent, current: Node; newNode, oldNode: VNode; patches: var seq[Patch
if result != different: result = r
break
of similar:
updateStyles(a[i], b[j], true)
updateStyles(a[i], b[j], false)
a[i] = b[j]
action