Closed ghost closed 13 years ago
Fixed in 2.0
Thank you
On Friday, March 18, 2011, DmitryBaranovskiy reply@reply.github.com wrote:
Fixed in 2.0
--" Reply to this email directly or view it on GitHub: https://github.com/DmitryBaranovskiy/raphael/issues/108#comment_888055
PG Code var flipped=false; var c = paper.text(100,100,"Hello").attr({fill:"red", "font-size": 72}); c.mousedown(function(){if(!flipped){flipped=true;c.scale(-1,1);}else {flipped=false;c.scale(1,1);}}); //click shape once to see the text //flipping horizontally in the expected way (does not work in IE), //click once more for no reaction //click once more for text to vanish
Discussion thread: http://groups.google.com/group/raphaeljs/browse_thread/thread/200bc073e961932d