forked from profectus/Profectus
Changed "assign" color to white
This commit is contained in:
parent
1709fe3079
commit
5c23976ec7
1 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue