diff --git a/editor/svg-editor.html b/editor/svg-editor.html index 12b29924..a77a5d84 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -2,6 +2,7 @@ + diff --git a/editor/svg-editor.js b/editor/svg-editor.js index a06e7a25..f16ad262 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -1176,8 +1176,8 @@ function svg_edit_setup() { svgCanvas.setCurrentLayer(option.attr("value")); }).click(function(evt) { var container = document.getElementById("layerlist"); - var mouse_x = evt.pageX - container.boxObject.x; - var mouse_y = evt.pageY - container.boxObject.y; +// var mouse_x = evt.pageX - container.boxObject.x; +// var mouse_y = evt.pageY - container.boxObject.y; // mouse_x, mouse_y contain the relative x,y position of the click }); }; diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index e73520c8..f39de13e 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -1,7 +1,6 @@ /* Issue 73 (Layers) TODO: -- fix bug with moving to top/bottom - reverse order of layer list (top-most list should be on top of the image) - convert select/options to tables, handle 'selection' of rows - add visibility icon to table as a column