mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 04:48:36 +03:00
fixes from rebase
This commit is contained in:
@@ -271,15 +271,15 @@ class Timeline extends React.Component {
|
||||
<TimelineMarkers
|
||||
selected={this.props.app.selected}
|
||||
getEventX={this.getDatetimeX}
|
||||
getCategoryY={this.getCategoryY}
|
||||
getCategoryY={this.state.scaleY}
|
||||
transitionDuration={this.state.transitionDuration}
|
||||
/>
|
||||
<TimelineEvents
|
||||
datetimes={this.props.domain.datetimes}
|
||||
styleDatetime={this.styleDatetime}
|
||||
narrative={this.props.app.narrative}
|
||||
getEventX={this.getEventX}
|
||||
getCategoryY={this.getCategoryY}
|
||||
getDatetimeX={this.getDatetimeX}
|
||||
getCategoryY={this.state.scaleY}
|
||||
getCategoryColor={this.props.methods.getCategoryColor}
|
||||
transitionDuration={this.state.transitionDuration}
|
||||
onSelect={this.props.methods.onSelect}
|
||||
|
||||
@@ -5,6 +5,7 @@ export default ({
|
||||
events,
|
||||
x,
|
||||
y,
|
||||
onSelect,
|
||||
styleProps,
|
||||
extraRender
|
||||
}) => (
|
||||
|
||||
@@ -58,6 +58,7 @@ const TimelineEvents = ({
|
||||
|
||||
return (
|
||||
<DatetimeDot
|
||||
onSelect={onSelect}
|
||||
category={dot.category}
|
||||
events={dot.events}
|
||||
x={getDatetimeX(datetime)}
|
||||
|
||||
Reference in New Issue
Block a user