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
Atm the underlying component model is recreated on every vie change. Which causes a lot of objects being created and garbage collected.
We should instead use the viewport and scaling information on an existing component model.
Separated from that the component model should only be recreated if a new data model is available.
The text was updated successfully, but these errors were encountered:
I played around a bit with the using scale and position on the pixiJS stage object. And it works nicely. Also it cleans up the code as we no longer need to translate between logical units and viewable pixels.
This is already done for states.
For elements which can't be scaled (because we have to preserve line thickness) we need to update the coordinates without removing and creating component objects.
Atm the underlying component model is recreated on every vie change. Which causes a lot of objects being created and garbage collected.
We should instead use the viewport and scaling information on an existing component model.
Separated from that the component model should only be recreated if a new data model is available.
The text was updated successfully, but these errors were encountered: