DmitryBaranovskiy / raphael

JavaScript Vector Library
https://dmitrybaranovskiy.github.io/raphael/
MIT License
11.27k stars 1.67k forks source link

Text flipping #108

Closed ghost closed 13 years ago

ghost commented 14 years ago

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

DmitryBaranovskiy commented 13 years ago

Fixed in 2.0

ghost commented 13 years ago

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