From de60b49f6fefb3928cc66434ab64724bf38cde62 Mon Sep 17 00:00:00 2001 From: bluesaxman Date: Thu, 10 Feb 2022 09:03:08 -0700 Subject: [PATCH] minor refrence error fixed, third times the charm... --- libs/bluepixle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/bluepixle.js b/libs/bluepixle.js index 561aadc..6444d87 100644 --- a/libs/bluepixle.js +++ b/libs/bluepixle.js @@ -129,7 +129,7 @@ class container { this.containers.forEach(cont => cont.renderContainer(ctx,refPos,refRot)); } ctx.translate(center.d[0],center.d[1]); - ctx.rotate(-origRot); + ctx.rotate(-refRot.getRadAngle()); ctx.translate(-center.d[0],-center.d[1]); }