decord/source/6454_needsToReattach.js

25 lines
656 B
JavaScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 6454
// Function ID: 6455
2026-07-23 10:11:24 +00:00
// Name: needsToReattach
// Dependencies: []
2026-08-24 06:08:38 +00:00
// Module 6454 (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;
}
};