Merge pull request #3601 from bcakmakoglu/refactor/handle-styles

refactor(system,styles)!: use translate to align handles to center of its side
This commit is contained in:
Moritz Klack
2023-11-13 11:18:53 +01:00
committed by GitHub
2 changed files with 13 additions and 8 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@xyflow/system': major
---
Use css `translate` to align handles to the center of their side instead of using hard-coded 4px to each direction, otherwise handles with different sizes aren't correctly aligned by the default handle styles