remove hard wait time in input action (#3229)

This commit is contained in:
LawyZheng
2025-08-19 14:26:25 +08:00
committed by GitHub
parent 1588d8018b
commit 458b7e43ab
2 changed files with 34 additions and 16 deletions

View File

@@ -2650,18 +2650,7 @@ function isAnimationFinished() {
if (!unfinishedAnimations || unfinishedAnimations.length == 0) {
return true;
}
const unfinishedAnimationsWithoutBlocked = unfinishedAnimations.filter(
(a) => {
const element = a.effect?.target;
if (!element) {
_jsConsoleLog("Unfinished animation without element:", a);
return false;
}
const result = getBlockElementUniqueID(element);
return !result[1];
},
);
return unfinishedAnimationsWithoutBlocked.length === 0;
return false;
}
/**