This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,17 @@
// Metro module 8062 (f8063).
import { getAssetWHRatio } from "./getAssetWHRatio";
export function shouldAnimate(a0, a1) {
if (a1 >= a0.start) {
if (!a0.loop && a1 > a0.duration + a0.start) {
return false;
}
if (a0.loop && a0.loopDelay !== void 0 && a0.loopDelay > 0 && (a1 - a0.start) % (a0.duration + a0?.loopDelay) > a0.duration) {
return false;
}
return true;
}
return false;
}
export function calculateProfileEffectHeight(a0, a1) {
return a1 / getAssetWHRatio(a0);
}