mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
修复缩放后,物体的缩放成为字符串bug。
This commit is contained in:
parent
a2aef70450
commit
61b56bb20c
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user