summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-06-03 13:35:55 +0200
committerPatrick Simianer <p@simianer.de>2016-06-03 13:35:55 +0200
commitf469f00eddd387c150d304860f137c67738e254c (patch)
treef761514b821f78a3a84ad824173ed52ff0fd3cf1
parentc5750c63c6005ae022c11166ba40f62a11df487f (diff)
fix
-rw-r--r--raphael.inline_text_editing.js3
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 = '';