Improve and fix issues with color generation
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
<script lang="ts">
|
||||
import { GenerateColor } from "$lib/utils";
|
||||
import { GenerateColor, RemoveExistingColors } from "$lib/utils";
|
||||
import EmptyWeightComp from "$components/Weight/EmptyWeightComp.svelte";
|
||||
import WeightComp from "$components/Weight/WeightComp.svelte";
|
||||
import { main } from "$wails/models";
|
||||
|
||||
export let items: main.Weight[] = [];
|
||||
RemoveExistingColors();
|
||||
|
||||
const dateColors: Map<string, string> = new Map<string, string>();
|
||||
|
||||
|
Reference in New Issue
Block a user