From 5c23976ec7ae6614493288f669da4492b869fdb0 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 26 Aug 2021 00:29:27 -0500 Subject: [PATCH] Changed "assign" color to white --- src/data/layers/main.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data/layers/main.ts b/src/data/layers/main.ts index 214ba73..46620b9 100644 --- a/src/data/layers/main.ts +++ b/src/data/layers/main.ts @@ -381,7 +381,7 @@ const resourceNodeType = { selectedAction.value?.id; return { text: currentFocus ? "10%" : "X", - color: currentFocus ? "green" : "black", + color: currentFocus ? "green" : "white", pulsing: true }; } @@ -398,7 +398,7 @@ const resourceNodeType = { } let color; if (change.assign) { - color = "black"; + color = "white"; } else { color = Decimal.gt(change.amount, 0) ? "green" : "red"; } @@ -542,14 +542,14 @@ const actionNodeType = { (resources.focus.node.data as ResourceNodeData).currentFocus === selectedAction.value?.id ? "green" - : "black", + : "white", "stroke-width": 4, pulsing: true }, ...action.baseChanges.map(change => { let color; if (change.assign) { - color = "black"; + color = "white"; } else { color = Decimal.gt(change.amount, 0) ? "green" : "red"; }