type:wait preview

This commit is contained in:
ckcz123 committed 2019-12-27 18:37:51 +08:00
1 parent 8ef2cc11a0
commit ef45e9f7d9
6 files changed
+48 -6

No files matched your search

+11
View File
@@ -1970,6 +1970,17 @@ events.prototype.__action_wait_afterGet = function (data) {
core.insertAction(todo);
}
events.prototype._precompile_wait = function (data) {
if (data.data) {
data.data.forEach(function (v) {
if (v.px) v.px = this.__precompile_array(v.px);
if (v.py) v.py = this.__precompile_array(v.py);
v.action = this.precompile(v.action);
}, this);
}
return data;
}
events.prototype._action_waitAsync = function (data, x, y, prefix) {
var test = window.setInterval(function () {
if (!core.hasAsync()) {