Browse Source

Apply suggested change from code comment

master
liminal 8 months ago
parent
commit
f1ed85bb34
No known key found for this signature in database
GPG Key ID: 962BEC8725790894
  1. 2
      src/lib/utils/eventColors.ts

2
src/lib/utils/eventColors.ts

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
* Uses golden ratio to distribute colors evenly across the spectrum
*/
const GOLDEN_RATIO = 0.618033988749895;
const GOLDEN_RATIO = (1 + Math.sqrt(5)) / 2;
/**
* Get a deterministic color for an event kind

Loading…
Cancel
Save