Timeline no longer adjusts upon selection of events; set of events aren't modified according to their place in the timeline

This commit is contained in:
efarooqui
2020-09-23 13:13:11 -07:00
parent 8e08198c3c
commit 15729da731

View File

@@ -57,12 +57,6 @@ class Timeline extends React.Component {
if (nextProps.dimensions.trackHeight !== this.props.dimensions.trackHeight) {
this.computeDims()
}
if (hash(nextProps.app.selected) !== hash(this.props.app.selected)) {
if (!!nextProps.app.selected && nextProps.app.selected.length > 0) {
this.onCenterTime(nextProps.app.selected[0].datetime)
}
}
}
addEventListeners () {