playcanvas / pcui

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

NumericInput set value fix #303

Closed ellthompson closed 1 year ago

ellthompson commented 1 year ago

Updating the NumericInput value via its setter function is currently not normalising the passed in value. This means the values can sometimes be set with incorrect precision or with undefined values.