improve color management

This commit is contained in:
vcoppe
2026-01-30 21:17:59 +01:00
parent f42a916c25
commit 2a4dfe010e
3 changed files with 35 additions and 22 deletions

View File

@@ -1,4 +1,5 @@
import { GPXFileStateCollectionObserver } from '$lib/logic/file-state';
import { writable } from 'svelte/store';
import { GPXLayer } from './gpx-layer';
export class GPXLayerCollection {
@@ -42,3 +43,4 @@ export class GPXLayerCollection {
}
export const gpxLayers = new GPXLayerCollection();
export const gpxColors = writable(new Map<string, string>());