corrigindo cortes de samples no download de projetos do mmpCreator
This commit is contained in:
1 parent
ac10c36614
commit
c072821746
1 file changed
-6
@@ -1061,12 +1061,6 @@ function _sanitizeFileName(name) {
|
|||||||
.slice(0, 80) || "clip";
|
.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) {
|
async function _fetchArrayBufferCached(url) {
|
||||||
if (__exportCache.rawBySrc.has(url)) return __exportCache.rawBySrc.get(url);
|
if (__exportCache.rawBySrc.has(url)) return __exportCache.rawBySrc.get(url);
|
||||||
const res = await fetch(url);
|
const res = await fetch(url);
|
||||||
|
|||||||
Reference in new issue
Block a user