From f0c37ec9c5a78d450de7c7e4052c8b574895db65 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Tue, 10 Jun 2025 14:43:37 -0700 Subject: [PATCH] bugfix: ColorAllocator not copying fallbackColors causing it to be empty, causing npes --- src/core/configuration/Colors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/configuration/Colors.ts b/src/core/configuration/Colors.ts index 747862cff..d09db865e 100644 --- a/src/core/configuration/Colors.ts +++ b/src/core/configuration/Colors.ts @@ -349,7 +349,7 @@ export class ColorAllocator { return this.assigned.get(id)!; } if (this.availableColors.length === 0) { - this.availableColors = this.fallbackColors; + this.availableColors = [...this.fallbackColors]; } const index = 0; const color = this.availableColors.splice(index, 1)[0];