decord/source/5559_getInvertedMultiplier.js

30 lines
659 B
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 5559
// Function ID: 47219
2026-07-20 16:05:17 +00:00
// Name: getInvertedMultiplier
2026-07-23 10:11:24 +00:00
// Dependencies: [27]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-23 10:11:24 +00:00
// Module 5559 (getInvertedMultiplier)
import { I18nManager } from "get ActivityIndicator";
2026-07-20 16:05:17 +00:00
export default function getInvertedMultiplier(arg0) {
if ("vertical" === arg0) {
return 1;
} else if ("vertical-inverted" === arg0) {
return -1;
} else if ("horizontal" === arg0) {
let num2 = 1;
if (I18nManager.getConstants().isRTL) {
num2 = -1;
}
return num2;
} else if ("horizontal-inverted" === arg0) {
let num = -1;
if (I18nManager.getConstants().isRTL) {
num = 1;
}
return num;
}
};