kangax/fabric.js — pull request #259 by EricLesch (2012-09-07 10:08:54+00:00)
Title: Fix for angle not being set correctly on instances of fabric.Text

In the current build, the angle of the object is not being set correctly on instances of fabric.Text because the set method is not checking for the 'angle' property and calling setAngle.

I fixed this by adding the check. An alternative solution might be to rewrite the fabric.Text set method to use parentSet, as other subclasses seem to do.....

Demos:

Demo not working properly:

http://jsfiddle.net/EricLesch/CUJTu/3/

Using http://raw.github.com/kangax/fabric.js/master/dist/all.js

Demo working properly:

http://jsfiddle.net/EricLesch/jvUQP/

Working using http://raw.github.com/EricLesch/fabric.js/master/dist/all.js