Update packages/freesewing.shared/components/workbench/layout/draft.js
Co-authored-by: Nick Dower <nicholasdower@gmail.com>
This commit is contained in:
parent
74cf28b871
commit
a254baa747
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ const Part = props => {
|
|||
handleDrag(select(partRef.current))
|
||||
}, [rotate])
|
||||
|
||||
// These are kepts as vars because re-rendering on drag would kill performance
|
||||
// These are kept as vars because re-rendering on drag would kill performance
|
||||
// Managing the difference between re-render and direct DOM updates makes this
|
||||
// whole thing a bit tricky to wrap your head around
|
||||
let translateX = partLayout.move.x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue