decord/source/5690_getInvertedMultiplier.js

30 lines
658 B
JavaScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 5690
// Function ID: 5691
2026-07-20 16:05:17 +00:00
// Name: getInvertedMultiplier
2026-07-29 08:29:29 +00:00
// Dependencies: [17]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 5690 (getInvertedMultiplier)
2026-07-23 10:11:24 +00:00
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;
}
};