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