decord/source/5035_needsToReattach.js
2026-07-21 22:01:30 +00:00

24 lines
628 B
JavaScript

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