Added default lineStyle alpha value.

This commit is contained in:
Richard Davey 2017-03-29 16:05:05 +01:00
parent bf695ee6d1
commit 3b79c2cf52

View file

@ -75,6 +75,8 @@ var Graphics = new Class({
lineStyle: function (lineWidth, color, alpha)
{
if (alpha === undefined) { alpha = 1; }
this.commandBuffer.push(
Commands.LINE_STYLE,
lineWidth, color, alpha