mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 05:18:34 +03:00
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:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user