mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 08:31:35 +00:00
Merge branch 'main' of https://github.com/thepaperpilot/Advent-Incremental
This commit is contained in:
commit
deac397e46
1 changed files with 4 additions and 4 deletions
|
@ -356,7 +356,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
<Spacer />
|
<Spacer />
|
||||||
<MainDisplay resource={metal} color={color} style="margin-bottom: 0" sticky={false}
|
<MainDisplay resource={metal} color={color} style="margin-bottom: 0" sticky={false}
|
||||||
productionDisplay={
|
productionDisplay={
|
||||||
<>
|
jsx(()=><>
|
||||||
{{
|
{{
|
||||||
[-1]: <>{format(computedMetalGain.value)}/s</>,
|
[-1]: <>{format(computedMetalGain.value)}/s</>,
|
||||||
0: undefined,
|
0: undefined,
|
||||||
|
@ -368,7 +368,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
? <> (Limited by {coal.coal.displayName})</>
|
? <> (Limited by {coal.coal.displayName})</>
|
||||||
: undefined
|
: undefined
|
||||||
}
|
}
|
||||||
</>
|
</>)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<Spacer />
|
<Spacer />
|
||||||
|
@ -381,11 +381,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
<Spacer />
|
<Spacer />
|
||||||
<MainDisplay resource={ore} color={color} style="margin-bottom: 0" sticky={false}
|
<MainDisplay resource={ore} color={color} style="margin-bottom: 0" sticky={false}
|
||||||
productionDisplay={
|
productionDisplay={
|
||||||
<>{{
|
jsx(()=><>{{
|
||||||
[-1]: <>{format(computedNetOreGain.value)}/s</>,
|
[-1]: <>{format(computedNetOreGain.value)}/s</>,
|
||||||
0: undefined,
|
0: undefined,
|
||||||
1: <>+{format(computedNetOreGain.value)}/s</>
|
1: <>+{format(computedNetOreGain.value)}/s</>
|
||||||
}[Decimal.compare(computedNetOreGain.value, 0)]}</>
|
}[Decimal.compare(computedNetOreGain.value, 0)]}</>)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<Spacer />
|
<Spacer />
|
||||||
|
|
Loading…
Reference in a new issue