Fixing issue 47, click to hover

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@213 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Narendra Sisodiya 2009-06-27 23:31:56 +00:00
parent 6b7bd3eaf8
commit 94e7f6c645
1 changed files with 3 additions and 3 deletions

View File

@ -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();
});