Ox.Image: fix typo in parseDrawOptions method

This commit is contained in:
rolux 2012-07-03 15:41:08 +02:00
parent ad25f92c38
commit a04eb376ed

View file

@ -82,7 +82,7 @@ Ox.load.Image = function(options, callback) {
that.context.strokeStyle = options.width === 0
? 'rgba(0, 0, 0, 0)' : options.color || 'rgb(0, 0, 0)';
that.context.fillStyle = options.fill || 'rgba(0, 0, 0, 0)';
that.context.lineWidthWidth = options.width !== void 0
that.context.lineWidth = options.width !== void 0
? options.width : 1;
}