From d8887eea30467436dc5a2e9aa57ad40d251caae0 Mon Sep 17 00:00:00 2001 From: "Qinghui.Liu" Date: Fri, 10 Nov 2023 11:28:56 +0800 Subject: [PATCH] fix: delete return selection --- packages/x6-plugin-selection/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/x6-plugin-selection/src/api.ts b/packages/x6-plugin-selection/src/api.ts index eae95972ce2..94dd59704eb 100644 --- a/packages/x6-plugin-selection/src/api.ts +++ b/packages/x6-plugin-selection/src/api.ts @@ -307,7 +307,7 @@ Graph.prototype.unselect = function ( ) { const selection = this.getPlugin('selection') as Selection if (selection) { - return selection.unselect(cells, options) + selection.unselect(cells, options) } return this }