corrigindo cortes de samples no download de projetos do mmpCreator
This commit is contained in:
1 parent
ac8271c9d8
commit
ac10c36614
1 file changed
-11
@@ -917,17 +917,6 @@ function downloadBlob(blob, fileName) {
|
|||||||
URL.revokeObjectURL(url);
|
URL.revokeObjectURL(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
function downloadBlob(blob, fileName) {
|
|
||||||
const url = URL.createObjectURL(blob);
|
|
||||||
const a = document.createElement("a");
|
|
||||||
a.href = url;
|
|
||||||
a.download = fileName;
|
|
||||||
document.body.appendChild(a);
|
|
||||||
a.click();
|
|
||||||
document.body.removeChild(a);
|
|
||||||
URL.revokeObjectURL(url);
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------- WAV helpers --------------------
|
// -------------------- WAV helpers --------------------
|
||||||
|
|
||||||
function _clamp(n, a, b) {
|
function _clamp(n, a, b) {
|
||||||
|
|||||||
Reference in new issue
Block a user