mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
fix : strip # from hexcolor before parseint16
This commit is contained in:
parent
ba491736c1
commit
e0c16486d3
@ -127,7 +127,7 @@
|
|||||||
width: this.piskelController.getWidth() * zoom,
|
width: this.piskelController.getWidth() * zoom,
|
||||||
height: this.piskelController.getHeight() * zoom,
|
height: this.piskelController.getHeight() * zoom,
|
||||||
preserveColors : preserveColors,
|
preserveColors : preserveColors,
|
||||||
transparent : parseInt(transparentColor, 16)
|
transparent : parseInt(transparentColor.substring(1), 16)
|
||||||
});
|
});
|
||||||
|
|
||||||
for (var i = 0; i < this.piskelController.getFrameCount(); i++) {
|
for (var i = 0; i < this.piskelController.getFrameCount(); i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user