decord/source/5579_needsToReattach.js
2026-08-25 06:04:03 +00:00

24 lines
656 B
JavaScript

// Module ID: 5579
// Function ID: 5580
// Name: needsToReattach
// Dependencies: []
// Module 5579 (needsToReattach)
arg5.needsToReattach = function needsToReattach(closure_1, closure_2) {
if (closure_2.length !== closure_1.attachedGestures.length) {
return true;
} else {
let num = 0;
if (0 < closure_2.length) {
while (closure_2[num].handlerName === closure_1.attachedGestures[num].handlerName) {
if (closure_2[num].shouldUseReanimated !== closure_1.attachedGestures[num].shouldUseReanimated) {
break;
} else {
num = num + 1;
}
}
return true;
}
return false;
}
};