diff --git a/js/gui.js b/js/gui.js index b80342b..c047faf 100644 --- a/js/gui.js +++ b/js/gui.js @@ -65,12 +65,17 @@ function GUI_CLASS() { var COLOR_copy; this.draw_helpers = function () { + var active_tool = HELPER.getCookie('active_tool'); + if(active_tool == '') + active_tool = DRAW.active_tool; + DRAW.active_tool = active_tool; + //left menu var html = ''; for (var i in DRAW_TOOLS_CONFIG) { html += '