|
|
@ -1664,7 +1664,11 @@ BI.Arrangement = BI.inherit(BI.Widget, { |
|
|
|
setDropPosition: function (position, size) { |
|
|
|
setDropPosition: function (position, size) { |
|
|
|
var self = this; |
|
|
|
var self = this; |
|
|
|
this.arrangement.setVisible(true); |
|
|
|
this.arrangement.setVisible(true); |
|
|
|
this._setArrangeSize(BI.extend({}, position, size)); |
|
|
|
var offset = this._getScrollOffset(); |
|
|
|
|
|
|
|
this._setArrangeSize(BI.extend({}, size, { |
|
|
|
|
|
|
|
left: position.left + offset.left, |
|
|
|
|
|
|
|
top: position.top + offset.top |
|
|
|
|
|
|
|
})); |
|
|
|
return function () { |
|
|
|
return function () { |
|
|
|
self.arrangement.setVisible(false); |
|
|
|
self.arrangement.setVisible(false); |
|
|
|
} |
|
|
|
} |
|
|
|