chenbo007 / svg-edit

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

Text context panel should have X,Y #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
X,Y are missing from the text context panel

Original issue reported on code.google.com by codedr...@gmail.com on 31 Jul 2009 at 2:35

GoogleCodeExporter commented 9 years ago

Original comment by codedr...@gmail.com on 7 Aug 2009 at 3:02

GoogleCodeExporter commented 9 years ago
This patch adds the missing feature.

Two notes:
* I added a 0ms timeout for moving the selection box, this appears necessary 
for text
in Firefox and other elements in Opera. Without it, the element(s)/selection 
box are
not visibly repositioned.
* Moved the textbox text focus under the shouldHighlightText, otherwise 
changing the
"x" value moves the selection to the text textbox, rather than the "y" value 
box.
There may be a better way to deal with this, but this seems easiest for now.

Original comment by adeve...@gmail.com on 13 Aug 2009 at 3:27

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r371.  Thanks Alexis!

Original comment by codedr...@gmail.com on 13 Aug 2009 at 3:42