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