fix : strip # from hexcolor before parseint16

This commit is contained in:
juliandescottes 2015-04-13 13:08:42 +02:00
parent ba491736c1
commit e0c16486d3

View File

@ -127,7 +127,7 @@
width: this.piskelController.getWidth() * zoom,
height: this.piskelController.getHeight() * zoom,
preserveColors : preserveColors,
transparent : parseInt(transparentColor, 16)
transparent : parseInt(transparentColor.substring(1), 16)
});
for (var i = 0; i < this.piskelController.getFrameCount(); i++) {