This commit is contained in:
Lachlan Kermode
2020-04-20 17:36:25 +02:00
parent 78e950d211
commit d676878ab6
2 changed files with 2 additions and 2 deletions

View File

@@ -337,7 +337,7 @@ class Timeline extends React.Component {
dims={dims}
selected={this.props.app.selected}
getEventX={this.getDatetimeX}
getCategoryY={this.state.scaleY}
getY={e => this.state.scaleY(e.category)}
transitionDuration={this.state.transitionDuration}
styles={this.props.ui.styles}
noCategories={this.props.domain.categories && this.props.domain.categories.length}

View File

@@ -80,7 +80,7 @@ const TimelineEvents = ({
fill: categoryColor,
fillOpacity: HAS_PROJECTS
? unlocatedEvents.some(ev => ev.projectOffset >= 0) ? getEventOpacity(unlocatedEvents) : 0.05
: getEventOpacity(unlocatedEvents)
: getEventOpacity(unlocatedEvents) / 4
}
const extraRender = customStyles[1]