From 40e51e83c22c8db755f035e7cd47bb04796a5031 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Fri, 4 Sep 2009 17:44:08 +0000 Subject: [PATCH] Fix Issue 178: Selector boxes disappearing after New document git-svn-id: http://svg-edit.googlecode.com/svn/trunk@567 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 003f96f0..5e506af4 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -405,6 +405,9 @@ function BatchCommand(text) { "element": "g", "attr": {"id": "selectorParentGroup"} }); + mgr.selectorMap = {}; + mgr.selectors = []; + mgr.rubberBandBox = null; }; this.requestSelector = function(elem) {