You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could the flatmap always be updated whenever updateGraph is called?
The text was updated successfully, but these errors were encountered:
dgholz
changed the title
adding more shapes & calling scene.updateGraph() should always let the new shapes appear when rendered
adding more shapes & calling scene.updateGraph() should always let the new shapes appear when rendered
May 30, 2019
I'm filing this on behalf of The_Amp_Walrus (https://news.ycombinator.com/item?id=20047206), who has an example CodePen of https://codepen.io/anon/pen/QRZKxy
Since calling
scene.updateGraph()
caches theflatGraph
on its first call (as part ofcheckFlatGraph
, (https://github.com/metafizzy/zdog/blob/v1.0.1/js/anchor.js#L124)), subsequent calls toupdateGraph
don't update theflatGraph
to match the children of the scene.Could the flatmap always be updated whenever
updateGraph
is called?The text was updated successfully, but these errors were encountered: