fix(selection): handle snap grid correctly

This commit is contained in:
moklick
2020-09-11 01:39:40 +02:00
parent 7f64ffe173
commit fe3dd87d24
3 changed files with 34 additions and 50 deletions
+5
View File
@@ -267,6 +267,11 @@ export type NodePosUpdate = {
pos: XYPosition;
};
export type NodeDiffUpdate = {
id: ElementId;
diff: XYPosition;
};
export type FlowTransform = {
x: number;
y: number;