From 016303c936ccbc23e7bbb80c8461e4ba9fe8d14f Mon Sep 17 00:00:00 2001 From: vector Date: Wed, 15 Sep 2021 22:55:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20fix=20option=20merge=20or?= =?UTF-8?q?der=20in=20paste=20(#1350)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/x6/src/addon/clipboard/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/x6/src/addon/clipboard/index.ts b/packages/x6/src/addon/clipboard/index.ts index 79eb2f63979..122bdb508f2 100644 --- a/packages/x6/src/addon/clipboard/index.ts +++ b/packages/x6/src/addon/clipboard/index.ts @@ -41,7 +41,7 @@ export class Clipboard { } paste(graph: Graph | Model, options: Clipboard.PasteOptions = {}) { - const localOptions = { ...options, ...this.options } + const localOptions = { ...this.options, ...options } const { offset, edgeProps, nodeProps } = localOptions let dx = 20