summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-09-02 13:31:15 +0200
committerPatrick Simianer <p@simianer.de>2015-09-02 13:31:15 +0200
commitc3974ae7c39479498ecb3b44fb47e629be310cbe (patch)
treef8ef42968599c5769feca5e765ebc59de1e2b3ef
parent47ec481bb682c1abb50f1e7966b2347a84c943ce (diff)
fix
-rw-r--r--edit.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/edit.js b/edit.js
index 3e46242..73d28ee 100644
--- a/edit.js
+++ b/edit.js
@@ -312,6 +312,7 @@ var make_obj = function(x, text, type)
input.addEventListener("blur", function(e) {
curEd.inlineTextEditing.stopEditing();
curEdShape.toFront();
+ curEd.toBack();
curEdShape.animate({width:curEd.getBBox().width+(margin-padding)},125);
setTimeout(function(){snap_to_grid(true);},125);
edit_mode = false;