From f469f00eddd387c150d304860f137c67738e254c Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Fri, 3 Jun 2016 13:35:55 +0200 Subject: fix --- raphael.inline_text_editing.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = ''; -- cgit v1.2.3