diff options
author | Patrick Simianer <p@simianer.de> | 2016-06-03 13:35:55 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-06-03 13:35:55 +0200 |
commit | f469f00eddd387c150d304860f137c67738e254c (patch) | |
tree | f761514b821f78a3a84ad824173ed52ff0fd3cf1 | |
parent | c5750c63c6005ae022c11166ba40f62a11df487f (diff) |
fix
-rw-r--r-- | raphael.inline_text_editing.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/raphael.inline_text_editing.js b/raphael.inline_text_editing.js index e0a6953..7336cd0 100644 --- a/raphael.inline_text_editing.js +++ b/raphael.inline_text_editing.js @@ -75,7 +75,8 @@ var originalBbox = subject._getBBox(); var width = originalBbox.width; var height = originalBbox.height; - var x = container.offsetLeft + originalBbox.x + translateX; + //var x = container.offsetLeft + originalBbox.x + translateX; + var x = container.offsetLeft + subject.attrs.x + translateX; x -= $("#holder").scrollLeft(); var y = container.offsetTop + subject.attrs.y - height / 2 + translateY; var sTransform = ''; |