mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-30 20:01:56 +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={{
|
style={{
|
||||||
color:
|
color:
|
||||||
(compInternalHovered.value as FactoryInternalProcessor)
|
(compInternalHovered.value as FactoryInternalProcessor)
|
||||||
.average.value! > 1
|
.average.value! >= 0.995
|
||||||
? "purple"
|
? "fuchsia"
|
||||||
: (
|
: (
|
||||||
compInternalHovered.value as FactoryInternalProcessor
|
compInternalHovered.value as FactoryInternalProcessor
|
||||||
).average.value! >= 0.9
|
).average.value! >= 0.9
|
||||||
? "green"
|
? "lime"
|
||||||
: (
|
: (
|
||||||
compInternalHovered.value as FactoryInternalProcessor
|
compInternalHovered.value as FactoryInternalProcessor
|
||||||
).average.value! >= 0.5
|
).average.value! >= 0.5
|
||||||
|
|
Loading…
Reference in a new issue