decord/source/__polyfill/07xxx/module_7123.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

26 lines
562 B
JavaScript

// Module ID: 7123
// Function ID: 7124
// Dependencies: []
// Exports: getInvertedMultiplier
// Module 7123
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;
}
}