chore(react): changelog
This commit is contained in:
@@ -1,5 +1,14 @@
|
|||||||
# @xyflow/react
|
# @xyflow/react
|
||||||
|
|
||||||
|
## 12.0.0-next.17
|
||||||
|
|
||||||
|
- refactor(react): cleanup `useReactFlow`
|
||||||
|
- fix(types): export `KeyCode`
|
||||||
|
- fix(nodes): handle default node updates closes #4202
|
||||||
|
- fix(types): add string array to `UpdateNodeInternals` thanks @DenizUgur
|
||||||
|
- fix(pane): pinch zoom on windows
|
||||||
|
- fix(pane): drag for touch devices
|
||||||
|
|
||||||
## 12.0.0-next.16
|
## 12.0.0-next.16
|
||||||
|
|
||||||
## Patch changes
|
## Patch changes
|
||||||
|
|||||||
@@ -214,6 +214,7 @@ export function XYPanZoom({
|
|||||||
currentTransform.x !== viewport.x ||
|
currentTransform.x !== viewport.x ||
|
||||||
currentTransform.y !== viewport.y
|
currentTransform.y !== viewport.y
|
||||||
) {
|
) {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
d3ZoomInstance?.transform(d3Selection, nextTransform, null, { sync: true });
|
d3ZoomInstance?.transform(d3Selection, nextTransform, null, { sync: true });
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
import { type ZoomTransform, zoomIdentity } from 'd3-zoom';
|
import { type ZoomTransform, zoomIdentity } from 'd3-zoom';
|
||||||
|
|
||||||
import { type D3SelectionInstance, type Viewport } from '../types';
|
import { type D3SelectionInstance, type Viewport } from '../types';
|
||||||
|
|||||||
Reference in New Issue
Block a user