mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
Sync styling of marker in both map and timeline from config
This commit is contained in:
@@ -290,15 +290,12 @@ class Timeline extends React.Component {
|
||||
dims={dims}
|
||||
onApplyZoom={this.onApplyZoom}
|
||||
/>
|
||||
{/* <Labels */}
|
||||
{/* dims={dims} */}
|
||||
{/* timelabels={this.state.timerange} */}
|
||||
{/* /> */}
|
||||
<Markers
|
||||
selected={this.props.app.selected}
|
||||
getEventX={this.getDatetimeX}
|
||||
getCategoryY={this.state.scaleY}
|
||||
transitionDuration={this.state.transitionDuration}
|
||||
styles={this.props.ui.styles}
|
||||
/>
|
||||
<Events
|
||||
datetimes={this.props.domain.datetimes}
|
||||
@@ -333,7 +330,8 @@ function mapStateToProps (state) {
|
||||
narrative: state.app.narrative
|
||||
},
|
||||
ui: {
|
||||
dom: state.ui.dom
|
||||
dom: state.ui.dom,
|
||||
styles: state.ui.style.selectedEvents
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user