|
|
@ -634,9 +634,14 @@ ItemSet.prototype.redraw = function() { |
|
|
|
var visibleInterval = range.end - range.start; |
|
|
|
var zoomed = (visibleInterval != this.lastVisibleInterval) || (this.props.width != this.props.lastWidth); |
|
|
|
var scrolled = range.start != this.lastRangeStart; |
|
|
|
var forceRestack = (zoomed || scrolled); |
|
|
|
var changedStackOption = options.stack != this.lastStack |
|
|
|
var changedStackSubgroupsOption = options.stackSubgroups != this.lastStackSubgroups |
|
|
|
var forceRestack = (zoomed || scrolled || changedStackOption || changedStackSubgroupsOption); |
|
|
|
this.lastVisibleInterval = visibleInterval; |
|
|
|
this.lastRangeStart = range.start; |
|
|
|
this.lastStack = options.stack; |
|
|
|
this.lastStackSubgroups = options.stackSubgroups; |
|
|
|
|
|
|
|
this.props.lastWidth = this.props.width; |
|
|
|
|
|
|
|
var firstGroup = this._firstGroup(); |
|
|
|