This is an attempt to resolve #472 by not having the Room.addInstance method immediately add new instances to the visual list. This allows time for the caller to fully initialize properties of the new instance (such as location based on mouse cursor position) before the new instance becomes visible.
With this change, instance creation is super slick now and there is no flicker or perceivable lag. This way is arguably more efficient as well because instances are initialized with the correct properties rather than having the room visual unnecessarily respond to all of the property change events.
This is an attempt to resolve #472 by not having the
Room.addInstance
method immediately add new instances to the visual list. This allows time for the caller to fully initialize properties of the new instance (such as location based on mouse cursor position) before the new instance becomes visible.With this change, instance creation is super slick now and there is no flicker or perceivable lag. This way is arguably more efficient as well because instances are initialized with the correct properties rather than having the room visual unnecessarily respond to all of the property change events.