Fixed flyout menus sometimes getting stuck partially closed (Issue 856).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2042 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
25c6faf0e8
commit
718d377a98
|
@ -915,11 +915,14 @@
|
|||
|
||||
var timer;
|
||||
|
||||
var pos = $(show_sel).position();
|
||||
$(hold_sel).css({'left': pos.left+34, 'top': pos.top+77});
|
||||
|
||||
// Clicking the "show" icon should set the current mode
|
||||
shower.mousedown(function(evt) {
|
||||
if(shower.hasClass('disabled')) return false;
|
||||
var holder = $(show_sel.replace('_show',''));
|
||||
var l = holder[0].style.left;
|
||||
var holder = $(hold_sel);
|
||||
var l = pos.left+34;
|
||||
var w = holder.width()*-1;
|
||||
var time = holder.data('shown_popop')?200:0;
|
||||
timer = setTimeout(function() {
|
||||
|
@ -948,9 +951,6 @@
|
|||
});
|
||||
|
||||
// $('#tools_rect').mouseleave(function(){$('#tools_rect').fadeOut();});
|
||||
|
||||
var pos = $(show_sel).position();
|
||||
$(hold_sel).css({'left': pos.left+34, 'top': pos.top+77});
|
||||
});
|
||||
|
||||
setFlyoutTitles();
|
||||
|
|
Loading…
Reference in New Issue