Ox.Image: fix typo in parseDrawOptions method
This commit is contained in:
parent
ad25f92c38
commit
a04eb376ed
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue