return default opacity and size

This commit is contained in:
Lachlan Kermode
2020-04-06 14:38:58 +02:00
parent eac3eeaf93
commit 044c6cd34a
6 changed files with 31 additions and 20 deletions

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) / 3
: getEventOpacity(unlocatedEvents)
}
const extraRender = customStyles[1]