From 83fb7fb257fb75b59bf1da60f92f1939958733c4 Mon Sep 17 00:00:00 2001 From: bluesaxman Date: Mon, 12 Sep 2022 16:29:06 -0600 Subject: [PATCH] this. added to some referenses to dimentions in shape --- libs/bluepixle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/bluepixle.js b/libs/bluepixle.js index 308a420..43d76fb 100644 --- a/libs/bluepixle.js +++ b/libs/bluepixle.js @@ -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) {