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={{ 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