can now have multiple triggers
+ Pattern.log now makes sense
This commit is contained in:
parent
27fb2d2d5b
commit
ff5d14fb63
9 changed files with 32 additions and 22 deletions
2
packages/react/dist/index.cjs.js
vendored
2
packages/react/dist/index.cjs.js
vendored
File diff suppressed because one or more lines are too long
5
packages/react/dist/index.es.js
vendored
5
packages/react/dist/index.es.js
vendored
|
|
@ -303,10 +303,7 @@ function eu({
|
|||
interval: e,
|
||||
onTrigger: async (E, C, x) => {
|
||||
try {
|
||||
if (!E.context.onTrigger)
|
||||
return await t(E, C, x);
|
||||
const I = 1;
|
||||
return await E.context.onTrigger(a() + C, E, a(), I);
|
||||
(!E.context.onTrigger || !E.context.dominantTrigger) && await t(E, C, x), E.context.onTrigger && await E.context.onTrigger(a() + C, E, a(), 1);
|
||||
} catch (I) {
|
||||
Le(`[cyclist] error: ${I.message}`, "error");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue