Body.scale doesn't update circleRadius with wireframes turned off #234
Closed
Description
I just came across issue #92. It doesn't seem to be a problem with wireframes on:
https://jsfiddle.net/pgtb8o74/2/
However, with wireframes turned off, circleRadius does not get updated after scaling:
https://jsfiddle.net/gdxs9vpa/2/
I've had to manually update with:
Matter.Body.scale(circle, 1.3, 1.3);
var radius = Math.sqrt(circle.area / Math.PI);
circle.circleRadius = radius;
I know the old issue was closed but this is a pretty painful "gotcha".