fixes from rebase

This commit is contained in:
Lachlan Kermode
2019-01-09 17:57:46 +00:00
parent c9c4854f35
commit ebc3eee45e
3 changed files with 5 additions and 3 deletions

View File

@@ -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}

View File

@@ -5,6 +5,7 @@ export default ({
events,
x,
y,
onSelect,
styleProps,
extraRender
}) => (

View File

@@ -58,6 +58,7 @@ const TimelineEvents = ({
return (
<DatetimeDot
onSelect={onSelect}
category={dot.category}
events={dot.events}
x={getDatetimeX(datetime)}