Open GoogleCodeExporter opened 9 years ago
line 3459 in vncanvas-0.4.js, i looks like even though the argument is an image
file, it nonetheless runs the code in the else statement instead of the first
conditional:
if ((this.image.constructor == HTMLImageElement) || (this.image.constructor == Image)) {
this.context.drawImage(this.image,
((this.context.canvas.width - this.backdropDim.vx)/2)>>0,
((this.context.canvas.height - this.backdropDim.vy)/2)>>0);
}
else {
this.context.fillStyle = this.image;
this.context.fillRect(0, 0, this.context.canvas.width, this.context.canvas.height);
}
Original comment by compulsi...@gmail.com
on 6 May 2013 at 5:59
Check issue 11 (http://code.google.com/p/vn-canvas/issues/detail?id=11)
Original comment by oclabbao
on 7 May 2013 at 12:11
Original comment by oclabbao
on 22 May 2013 at 3:29
Original issue reported on code.google.com by
compulsi...@gmail.com
on 6 May 2013 at 5:44