Fix wrong calculation of requried bytes
This commit is contained in:
parent
4cc434edd6
commit
23a0768f8d
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
|||
|
||||
// Layers
|
||||
for (var i = 0, layers = piskel.getLayers(); i < layers.length; i++) {
|
||||
bytes += 3 * 2;
|
||||
bytes += 5 * 2;
|
||||
bytes += layers[i].name.length * 2;
|
||||
bytes += framesData[i].length;
|
||||
if (bytes % 2 == 1) {
|
||||
|
|
Loading…
Reference in a new issue