this. added to some referenses to dimentions in shape

This commit is contained in:
bluesaxman 2022-09-12 16:29:06 -06:00
parent f25979eff1
commit 83fb7fb257

View File

@ -57,7 +57,7 @@ class shape {
ctx.strokeRect(origin.d[0],origin.d[1],this.dimentions.d[0],this.dimentions.d[1]);
} else if ("elipse" == this.type) {
ctx.beginPath();
ctx.ellipse(center.d[0],center.d[1],dimentions.d[0]/2,dimentions.d[1]/2,0,0,360);
ctx.ellipse(center.d[0],center.d[1],this.dimentions.d[0]/2,this.dimentions.d[1]/2,0,0,360);
ctx.stroke();
ctx.fill();
} else if ("image" == this.type) {