mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-24 09:21:48 +00:00
Batter efficiency colors
This commit is contained in:
parent
649aa0b93f
commit
11d3e05e03
1 changed files with 3 additions and 3 deletions
|
@ -2243,12 +2243,12 @@ const factory = createLayer(id, () => {
|
|||
style={{
|
||||
color:
|
||||
(compInternalHovered.value as FactoryInternalProcessor)
|
||||
.average.value! > 1
|
||||
? "purple"
|
||||
.average.value! >= 0.995
|
||||
? "fuchsia"
|
||||
: (
|
||||
compInternalHovered.value as FactoryInternalProcessor
|
||||
).average.value! >= 0.9
|
||||
? "green"
|
||||
? "lime"
|
||||
: (
|
||||
compInternalHovered.value as FactoryInternalProcessor
|
||||
).average.value! >= 0.5
|
||||
|
|
Loading…
Reference in a new issue