Commit 17a098c
committed
Update labware-creator's ConditionalLabwareRender.
This code was already using a `useLayoutEffect()` to automatically compute an SVG viewbox that enclosed the labware, so it never really mattered how the labware was translated in 2D space. The viewbox would automatically translate to follow it, no matter what. So we can just flip `offsetInSlot` to `passThrough` here without needing to change anything else.1 parent c0bd892 commit 17a098c
File tree
1 file changed
+1
-1
lines changed- labware-library/src/labware-creator/components
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments