circle radius randomization fix
This commit is contained in:
parent
c1bea776b2
commit
57c642ca06
@ -13,7 +13,7 @@ class Circle extends Shape {
|
|||||||
static randomOptions() {
|
static randomOptions() {
|
||||||
let opts = super.randomOptions();
|
let opts = super.randomOptions();
|
||||||
|
|
||||||
opts.r = Math.floor(Math.random() * (this.maxY / 2 - opts.x));
|
opts.r = Math.floor(Math.random() * (this.maxY / 2));
|
||||||
|
|
||||||
return opts;
|
return opts;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user