From 94e7f6c645d25c49d7eff6dbc35ccafce01dd7d7 Mon Sep 17 00:00:00 2001 From: Narendra Sisodiya Date: Sat, 27 Jun 2009 23:31:56 +0000 Subject: [PATCH] Fixing issue 47, click to hover git-svn-id: http://svg-edit.googlecode.com/svn/trunk@213 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index cd835d68..8de33cca 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -234,7 +234,7 @@ function svg_edit_setup() { if ($(button).hasClass('tool_button_disabled')) return false; $('#styleoverrides').text(''); - $('.tools_flyout').hide(); + $('.tools_flyout').hide("slow"); $('.tool_button_current').removeClass('tool_button_current').addClass('tool_button'); $(button).addClass('tool_button_current'); // when a tool is selected, we should deselect the currently selected element @@ -513,13 +513,13 @@ function svg_edit_setup() { }); // this hides any flyouts and then shows the rect flyout - $('#tools_rect_show').click(function(){ + $('#tools_rect_show').mouseover(function(){ $('.tools_flyout').hide(); $('#tools_rect').show(); }); // this hides any flyouts and then shows the circle flyout - $('#tools_ellipse_show').click(function(){ + $('#tools_ellipse_show').mouseover(function(){ $('.tools_flyout').hide(); $('#tools_ellipse').show(); });