mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Added default lineStyle alpha value.
This commit is contained in:
parent
bf695ee6d1
commit
3b79c2cf52
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue