Make dots ratio of canvas height
This commit is contained in:
parent
1b2ba7abe7
commit
8a6ac5db2c
@ -165,7 +165,7 @@ Stuff.prototype.drawPolygon = function(context) {
|
||||
self.canvas.width = dimensions.width;
|
||||
}
|
||||
if (self.points === undefined) {
|
||||
self.initPoints(self.canvas.width, self.canvas.height, 5000);
|
||||
self.initPoints(self.canvas.width, self.canvas.height, self.canvas.width * 1.5);
|
||||
}
|
||||
|
||||
if (!self.paused) {
|
||||
|
Loading…
Reference in New Issue
Block a user