|
@ -180,7 +180,6 @@ Group.prototype.redraw = function(range, margin, restack) { |
|
|
|
|
|
|
|
|
// recalculate the height of the subgroups
|
|
|
// recalculate the height of the subgroups
|
|
|
this._calculateSubGroupHeights(); |
|
|
this._calculateSubGroupHeights(); |
|
|
|
|
|
|
|
|
this.isVisible = this._isGroupVisible(range, margin); |
|
|
this.isVisible = this._isGroupVisible(range, margin); |
|
|
|
|
|
|
|
|
// reposition visible items vertically
|
|
|
// reposition visible items vertically
|
|
@ -276,6 +275,7 @@ Group.prototype._calculateSubGroupHeights = function () { |
|
|
* check if group is visible |
|
|
* check if group is visible |
|
|
* @private |
|
|
* @private |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
Group.prototype._isGroupVisible = function (range, margin) { |
|
|
Group.prototype._isGroupVisible = function (range, margin) { |
|
|
var isVisible = |
|
|
var isVisible = |
|
|
(this.top <= range.body.domProps.centerContainer.height - range.body.domProps.scrollTop + margin.axis) |
|
|
(this.top <= range.body.domProps.centerContainer.height - range.body.domProps.scrollTop + margin.axis) |
|
|