修复缩放后,物体的缩放成为字符串bug。

This commit is contained in:
liteng 2019-01-14 21:13:31 +08:00
parent a2aef70450
commit 61b56bb20c

View File

@ -97,7 +97,7 @@ Number.prototype.render = function () {
_this.setValue(_this.dom.value);
if (_this.onChange) {
_this.onChange.call(_this, _this.dom.value);
_this.onChange.call(_this, parseFloat(_this.dom.value));
}
}