Batter efficiency colors

This commit is contained in:
ducdat0507 2022-12-24 13:26:31 +07:00
parent 649aa0b93f
commit 11d3e05e03

View file

@ -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