|
|
@ -595,6 +595,9 @@ Timeline.prototype.redraw = function() { |
|
|
|
|
|
|
|
// reposition the scrollable contents
|
|
|
|
var offset = this.props.scrollTop; |
|
|
|
if (options.orientation == 'bottom') { |
|
|
|
offset += Math.max(this.props.centerContainer.height - this.props.center.height, 0); |
|
|
|
} |
|
|
|
dom.center.style.left = '0'; |
|
|
|
dom.center.style.top = offset + 'px'; |
|
|
|
dom.left.style.left = '0'; |
|
|
|