uxebu/bonsai — pull request #163 by iamdustan (2012-12-02 04:01:15+00:00)
Title: scaleX/scaleY updated when matrix is manipulated directly

Fixes #162

I was hoping to simplify this down to be similar to the x/y getters and setters (manipulate the matrix directly), but my first attempt caused a large number of failing specs, so I opted for the double-setting in the `setMatrix` call instead.

I added some tests (didn’t push them) to ensure the same behavior for rotation, but they already passed. I could commit them to prevent potential regressions, but seeing as the rotation logic lives within the matrix class I didn’t think that was very likely.