Skip to content

Commit d45a7ba

Browse files
committed
Fixed constructor.
1 parent e7400be commit d45a7ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pixi/primitives/GraphicsData.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ PIXI.GraphicsData = function(lineWidth, lineColor, lineAlpha, fillColor, fillAlp
8888

8989
};
9090

91-
GraphicsData.prototype.constructor = GraphicsData;
91+
PIXI.GraphicsData.prototype.constructor = PIXI.GraphicsData;
9292

9393
/**
9494
* Creates a new GraphicsData object with the same values as this one.
9595
*
9696
* @return {GraphicsData}
9797
*/
98-
GraphicsData.prototype.clone = function() {
98+
PIXI.GraphicsData.prototype.clone = function() {
9999

100100
return new GraphicsData(
101101
this.lineWidth,

0 commit comments

Comments
 (0)