diff --git a/editor/svg-editor.html b/editor/svg-editor.html index 6c2d887a..1b44fbe7 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -116,6 +116,7 @@
+
diff --git a/editor/svg-editor.js b/editor/svg-editor.js index c08f6e0a..6dacafc9 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -119,6 +119,7 @@ function svg_edit_setup() { // - removes the tool_button_current class from whatever tool currently has it // - adds the tool_button_current class to the button passed in var toolButtonClick = function(button){ + $('#styleoverrides').text(''); $('.tools_flyout').hide(); $('.tool_button_current').removeClass('tool_button_current').addClass('tool_button'); $(button).addClass('tool_button_current'); @@ -129,6 +130,7 @@ function svg_edit_setup() { $('#tool_select').click(function(){ toolButtonClick(this); svgCanvas.setMode('select'); + $('#styleoverrides').text('*{cursor:move} svg{cursor:auto}'); }); $('#tool_path').click(function(){