Updated to PixiJS v5.
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ export class ScatterContainer extends PIXI.Graphics {
|
||||
if (child.scatter) {
|
||||
let polygon = child.scatter.polygon
|
||||
let shape = new PIXI.Polygon(polygon.flatAbsolutePoints())
|
||||
shape.close()
|
||||
//shape.close() not possible in PixiJS v5
|
||||
this.drawShape(shape)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user