Skip to content

Commit

Permalink
fix(lc fieldstolabware.ts): include Module height when calculating st…
Browse files Browse the repository at this point in the history
…acking offset with module

We had a bug in #17238

BREAKING CHANGE: This will change how the stacking offset is calculated so any quirky customer
workarounds might stop working. Also if the changes needed to be bigger that will also be tricky

GitHub ticket 17238
  • Loading branch information
alexjoel42 committed Jan 24, 2025
1 parent 10c4fab commit a59fd66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labware-library/src/labware-creator/fieldsToLabware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function fieldsToLabware(
x: 0,
y: 0,
// ensure that z is a number!
z: fields.labwareZDimension - parseFloat(String(z)),
z: fields.labwareZDimension - parseFloat(String(z)) + 45,
})
})

Expand Down

0 comments on commit a59fd66

Please sign in to comment.