homotopy-io / homotopy-webclient

https://homotopy.io
27 stars 5 forks source link

When attaching, render is called twice #31

Closed jamievicary closed 5 years ago

jamievicary commented 6 years ago

Perhaps the first pass is getting the size of the diagram? In general this will be too slow since the render function is expensive for big diagrams. Maybe the size of the diagram can be set after the first render is complete, meaning the second render is not necessary.

jamievicary commented 5 years ago

Lukas, did you fix this? It doesn't seem to happen any more.