decord/source/5034_needsToReattach.js
2026-07-20 16:05:17 +00:00

24 lines
628 B
JavaScript

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