Gisellameloni / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

A bug in 2.6 about multiple layers(I know how to fix it) #1099

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.create 2 layers A and B with some element in it;
2.select one element in layer A and then chose the layer B
3. the old element in layer A can alse select and my firedebug throw a error 
info.

What is the expected output? 
----In the step 3, the old element should not be selected.

fix it:
edit the file svg_editor.js and fount the "populateLayers" function, add a line 
in it:
    var populateLayers = function(){
                svgCanvas.clearSelection();

Original issue reported on code.google.com by bcw...@gmail.com on 7 Jun 2013 at 2:11

GoogleCodeExporter commented 9 years ago
Is this resolved?  I already see svgCanvas.clearSelection(); added to this 
function...

Original comment by bret...@gmail.com on 12 Oct 2013 at 3:02

GoogleCodeExporter commented 9 years ago

Original comment by bret...@gmail.com on 29 Oct 2013 at 6:43