summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;