Skip to content

Commit 2816f29

Browse files
committed
Fixed pathData
1 parent 83fa526 commit 2816f29

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/gameobjects/shape/rectangle/Rectangle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var Rectangle = new Class({
7575

7676
path.push(line.x2, line.y2);
7777

78-
this.lineData = path;
78+
this.pathData = path;
7979

8080
return this;
8181
}

src/gameobjects/shape/triangle/Triangle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ var Triangle = new Class({
100100

101101
path.push(line.x2, line.y2);
102102

103-
this.lineData = path;
103+
this.pathData = path;
104104

105105
return this;
106106
}

0 commit comments

Comments
 (0)