1
0
Fork 0

Update packages/freesewing.shared/components/workbench/layout/draft.js

Co-authored-by: Nick Dower <nicholasdower@gmail.com>
This commit is contained in:
Joost De Cock 2022-03-13 14:33:10 +01:00 committed by GitHub
parent 74cf28b871
commit a254baa747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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