decord/source/__polyfill/07xxx/module_7034.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

26 lines
562 B
JavaScript

// Module ID: 7034
// Function ID: 7035
// Dependencies: []
// Exports: getInvertedMultiplier
// Module 7034
export function getInvertedMultiplier(gestureDirection, arg1) {
if ("vertical" === gestureDirection) {
return 1;
} else if ("vertical-inverted" === gestureDirection) {
return -1;
} else if ("horizontal" === gestureDirection) {
let num2 = 1;
if (arg1) {
num2 = -1;
}
return num2;
} else if ("horizontal-inverted" === gestureDirection) {
let num = -1;
if (arg1) {
num = 1;
}
return num;
}
}