decord/source/5513_needsToReattach.js

25 lines
656 B
JavaScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 5513
// Function ID: 5514
2026-07-23 10:11:24 +00:00
// Name: needsToReattach
// Dependencies: []
2026-08-13 07:00:46 +00:00
// Module 5513 (needsToReattach)
2026-07-23 10:11:24 +00:00
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;
}
};