Skip to content

Commit

Permalink
Remove pipe numbers in 2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
KirkMcDonald committed Oct 20, 2024
1 parent cfb6270 commit 0020724
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions display.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { spec } from "./factory.js"
import { formatSettings } from "./fragment.js"
import { getRecipeGroups, topoSort } from "./groups.js"
import { Icon } from "./icon.js"
import { useLegacyCalculation } from "./init.js"
import { moduleRows, moduleDropdown } from "./module.js"
import { Rational, zero, one } from "./rational.js"

Expand Down Expand Up @@ -427,6 +428,9 @@ function pipeValues(rate) {
}

function pipeText(rate) {
if (!useLegacyCalculation) {
return ""
}
if (rate.equal(zero)) {
return " \u00d7 0"
}
Expand Down

0 comments on commit 0020724

Please sign in to comment.