fix:录像模式下支持输入负整数
This commit is contained in:
parent
9a675c0487
commit
0ad2913d89
@ -1985,7 +1985,7 @@ events.prototype._action_setHeroIcon = function (data, x, y, prefix) {
|
||||
|
||||
events.prototype._action_input = function (data, x, y, prefix) {
|
||||
this.__action_getInput(core.replaceText(data.text, prefix), false, function (value) {
|
||||
value = Math.abs(parseInt(value) || 0);
|
||||
value = parseInt(value) || 0;
|
||||
core.status.route.push("input:" + value);
|
||||
core.setFlag("input", value);
|
||||
core.doAction();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user