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-75d572ba1dddmaster
parent
3887d822b2
commit
af639eb56b
|
@ -928,7 +928,6 @@
|
||||||
|
|
||||||
var timer;
|
var timer;
|
||||||
var pos = $(show_sel).position();
|
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
|
// Clicking the "show" icon should set the current mode
|
||||||
shower.mousedown(function(evt) {
|
shower.mousedown(function(evt) {
|
||||||
|
@ -964,6 +963,7 @@
|
||||||
// $('#tools_rect').mouseleave(function(){$('#tools_rect').fadeOut();});
|
// $('#tools_rect').mouseleave(function(){$('#tools_rect').fadeOut();});
|
||||||
});
|
});
|
||||||
setFlyoutTitles();
|
setFlyoutTitles();
|
||||||
|
setFlyoutPositions();
|
||||||
};
|
};
|
||||||
|
|
||||||
var makeFlyoutHolder = function(id, child) {
|
var makeFlyoutHolder = function(id, child) {
|
||||||
|
@ -3150,6 +3150,7 @@
|
||||||
workarea[0]['scroll' + (type === 'width' ? 'Left' : 'Top')] -= (curval - val)/2;
|
workarea[0]['scroll' + (type === 'width' ? 'Left' : 'Top')] -= (curval - val)/2;
|
||||||
win_wh[type] = curval;
|
win_wh[type] = curval;
|
||||||
});
|
});
|
||||||
|
setFlyoutPositions();
|
||||||
});
|
});
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
|
Loading…
Reference in New Issue