minor refrence error fixed, third times the charm...

This commit is contained in:
bluesaxman 2022-02-10 09:03:08 -07:00
parent cb3c0b37c7
commit de60b49f6f

View File

@ -129,7 +129,7 @@ class container {
this.containers.forEach(cont => cont.renderContainer(ctx,refPos,refRot)); this.containers.forEach(cont => cont.renderContainer(ctx,refPos,refRot));
} }
ctx.translate(center.d[0],center.d[1]); ctx.translate(center.d[0],center.d[1]);
ctx.rotate(-origRot); ctx.rotate(-refRot.getRadAngle());
ctx.translate(-center.d[0],-center.d[1]); ctx.translate(-center.d[0],-center.d[1]);
} }