small fixes

This commit is contained in:
Lachlan Kermode
2020-06-10 12:48:45 +02:00
parent d963ac0643
commit dd679f8943
5 changed files with 6 additions and 4 deletions

View File

@@ -163,7 +163,7 @@ export function calcOpacity (num) {
* other events there are in the same render. The idea here is that the
* overlaying of events builds up a 'heat map' of the event space, where
* darker areas represent more events with proportion */
const base = num >= 1 ? 0.3 : 0
const base = num >= 1 ? 0.6 : 0
return base + (Math.min(0.5, 0.08 * (num - 1)))
}