Skip to content

Commit

Permalink
fix: clear old background when background enabled in background (#3192)
Browse files Browse the repository at this point in the history
  • Loading branch information
NewByVector authored Feb 1, 2023
1 parent 1682a1d commit 17b36e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x6-plugin-scroller/src/scroller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ export namespace ScrollerImpl {
result.background == null
) {
result.background = graphOptions.background
delete graphOptions.background
options.graph.background.clear()
}

return result as ScrollerImpl.Options
Expand Down

0 comments on commit 17b36e2

Please sign in to comment.