Browse Source

Fixed group height being applied to group background panel as well

css_transitions
jos 10 years ago
parent
commit
3a05985090
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/timeline/component/Group.js

+ 2
- 1
src/timeline/component/Group.js View File

@ -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

Loading…
Cancel
Save