Closed ryan-graef closed 9 years ago
These lines:
if (width > this.layer.widthInPixels) { width = this.layer.widthInPixels; } if (height > this.layer.heightInPixels) { height = this.layer.heightInPixels; }
are throwing an error because the scope is in the layer. I corrected this by changing it to:
if (width > this.widthInPixels) { width = this.widthInPixels; } if (height > this.heightInPixels) { height = this.heightInPixels; }
Good catch, can you put in a PR?
These lines:
are throwing an error because the scope is in the layer. I corrected this by changing it to: