Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
26 lines
562 B
JavaScript
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;
|
|
}
|
|
}
|