Fix vertical position of flyouts from left toolbar when viewport <= 1250px

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2562 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Mike Baynton 2013-10-07 01:35:01 +00:00
parent 3887d822b2
commit af639eb56b
1 changed files with 2 additions and 1 deletions

View File

@ -928,7 +928,6 @@
var timer;
var pos = $(show_sel).position();
$(hold_sel).css({'left': pos.left+34, 'top': pos.top+40});
// Clicking the "show" icon should set the current mode
shower.mousedown(function(evt) {
@ -964,6 +963,7 @@
// $('#tools_rect').mouseleave(function(){$('#tools_rect').fadeOut();});
});
setFlyoutTitles();
setFlyoutPositions();
};
var makeFlyoutHolder = function(id, child) {
@ -3150,6 +3150,7 @@
workarea[0]['scroll' + (type === 'width' ? 'Left' : 'Top')] -= (curval - val)/2;
win_wh[type] = curval;
});
setFlyoutPositions();
});
(function() {