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

View File

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

View File

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