refactor(nodes): always render nodes that are dragged closes #477

This commit is contained in:
moklick
2020-09-11 17:12:09 +02:00
parent d17e6ebaea
commit 8a0a928e17
6 changed files with 33 additions and 21 deletions
+3 -1
View File
@@ -174,6 +174,7 @@ export interface WrapNodeProps {
isInitialized?: boolean;
snapToGrid?: boolean;
snapGrid?: [number, number];
isDragging?: boolean;
}
export type FitViewParams = {
@@ -271,7 +272,8 @@ export type NodePosUpdate = {
export type NodeDiffUpdate = {
id: ElementId;
diff: XYPosition;
diff?: XYPosition;
isDragging?: boolean;
};
export type FlowTransform = {