rebootcode / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

svg edit invisible text bug #831

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There's a thing. When you forst load svg-edit in firefox 4+ and you enter text 
the text is invisible until you click on the canvas.

I found a hack that fixes this particular bug.

At the end of

textActions.init {

}

put

curtext.setAttribute("fill-opacity", 0);
curtext.setAttribute("stroke-opacity", 0);
curtext.setAttribute("fill-opacity", 1);
curtext.setAttribute("stroke-opacity", 1);

Most likely an ff race condition bug, but this seems to fix it.

Original issue reported on code.google.com by justinvi...@gmail.com on 14 Jul 2011 at 8:25

GoogleCodeExporter commented 9 years ago
I think this is already fixed in the trunk. Can you please test there and let 
us know.

Original comment by tjbcarr...@gmail.com on 14 Jul 2011 at 8:36

GoogleCodeExporter commented 9 years ago
Issue 917 has been merged into this issue.

Original comment by asyazwan on 3 Mar 2012 at 6:41