@bian-womp/spark-workbench 0.2.73 → 0.2.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.cjs +1 -1
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/esm/index.js.map +1 -1
- package/package.json +4 -4
package/lib/esm/index.js
CHANGED
|
@@ -278,7 +278,7 @@ class InMemoryWorkbench extends AbstractWorkbench {
|
|
|
278
278
|
}
|
|
279
279
|
// Position and selection APIs for React Flow bridge
|
|
280
280
|
setPositions(map, options) {
|
|
281
|
-
this.positions = { ...map };
|
|
281
|
+
this.positions = { ...this.positions, ...map };
|
|
282
282
|
this.emit("graphUiChanged", {
|
|
283
283
|
def: this.def,
|
|
284
284
|
change: { type: "moveNodes" },
|