diff --git a/assets/js/creations/file.js b/assets/js/creations/file.js index 592702e2..51538c94 100755 --- a/assets/js/creations/file.js +++ b/assets/js/creations/file.js @@ -1061,12 +1061,6 @@ function _sanitizeFileName(name) { .slice(0, 80) || "clip"; } -function _clamp(n, a, b) { - const x = Number(n); - if (!Number.isFinite(x)) return a; - return Math.max(a, Math.min(b, x)); -} - async function _fetchArrayBufferCached(url) { if (__exportCache.rawBySrc.has(url)) return __exportCache.rawBySrc.get(url); const res = await fetch(url);