From 3a05985090d33dd7a51106f348ae5ccb4b3fb3ec Mon Sep 17 00:00:00 2001 From: jos Date: Sat, 21 Jun 2014 09:34:22 +0200 Subject: [PATCH] Fixed group height being applied to group background panel as well --- src/timeline/component/Group.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/timeline/component/Group.js b/src/timeline/component/Group.js index 6184c750..7da12c84 100644 --- a/src/timeline/component/Group.js +++ b/src/timeline/component/Group.js @@ -176,7 +176,8 @@ Group.prototype.redraw = function(range, margin, restack) { resized = util.updateProperty(this.props.label, 'height', this.dom.inner.clientHeight) || resized; // apply new height - foreground.style.height = height + 'px'; + this.dom.background.style.height = height + 'px'; + this.dom.foreground.style.height = height + 'px'; this.dom.label.style.height = height + 'px'; // update vertical position of items after they are re-stacked and the height of the group is calculated