Skip to content

Commit

Permalink
fix: 馃悰 fix option merge order in paste (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
NewByVector committed Sep 15, 2021
1 parent 9cec752 commit 016303c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x6/src/addon/clipboard/index.ts
Expand Up @@ -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
Expand Down

0 comments on commit 016303c

Please sign in to comment.