decord/source/5473_needsToReattach.js
2026-08-08 06:10:11 +00:00

24 lines
656 B
JavaScript

// Module ID: 5473
// Function ID: 5474
// Name: needsToReattach
// Dependencies: []
// Module 5473 (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;
}
};