chore(useReactFlow): cleanup fitView

This commit is contained in:
moklick
2024-09-23 15:01:20 +02:00
parent 5a6869fd40
commit b47a04fb8b
2 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -3,4 +3,4 @@
'@xyflow/svelte': patch
---
Calculate viewport dimensions in fitView instead of using stored dimensions. Fixes [#4652](https://github.com/xyflow/xyflow/issues/4652)
Calculate viewport dimensions in `fitView` instead of using stored dimensions. Fixes [#4652](https://github.com/xyflow/xyflow/issues/4652)