decord/source/__polyfill/07xxx/module_7127.js
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

26 lines
562 B
JavaScript

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