mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Update preview/js/piskel.js
This commit is contained in:
parent
36751a2f60
commit
051bbff20f
@ -69,7 +69,7 @@
|
||||
binaryFrames[i] = "";
|
||||
for (var j =0 ; j < chunks.length ; j++) {
|
||||
var binaryEnding = parseInt(chunks[j], 36).toString(2);
|
||||
var missingZeros = (new Array(1 + 64 - binaryEnding.length)).join("0");
|
||||
var missingZeros = (new Array(1 + 32 - binaryEnding.length)).join("0");
|
||||
binaryFrames[i] += (missingZeros + binaryEnding);
|
||||
console.log((missingZeros + binaryEnding).length);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user