playcanvas / pcui

UI component library for web-based tools
http://playcanvas.github.io/pcui
MIT License
664 stars 62 forks source link

Binding observer fix #293

Closed ellthompson closed 1 year ago

ellthompson commented 1 year ago

The BindingBase#_observers property is now always set to an array, so the BindingObserversToElement#_updateValue function can no longer test against the property being set. The BindingBase#link function also no longer needs to call BindingBase#unlink as it sets all of the unlinked properties itself.