From a04eb376edfe7cc9326c054bda6cd15e807636aa Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 3 Jul 2012 15:41:08 +0200 Subject: [PATCH] Ox.Image: fix typo in parseDrawOptions method --- source/Ox.Image/Ox.Image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.Image/Ox.Image.js b/source/Ox.Image/Ox.Image.js index 7055c329..c521f225 100644 --- a/source/Ox.Image/Ox.Image.js +++ b/source/Ox.Image/Ox.Image.js @@ -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; }