From db1940be1f6f4f5f1b3aee887847f1d5fdf2e55d Mon Sep 17 00:00:00 2001 From: YiQianYao <42212176+2912401452@users.noreply.github.com> Date: Tue, 17 May 2022 22:58:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20mouseup=20=E5=A4=B1?= =?UTF-8?q?=E6=95=88=20(#1114)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/services/interaction/PickingService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/services/interaction/PickingService.ts b/packages/core/src/services/interaction/PickingService.ts index 927e923a0a..b15681dbe7 100644 --- a/packages/core/src/services/interaction/PickingService.ts +++ b/packages/core/src/services/interaction/PickingService.ts @@ -214,7 +214,8 @@ export default class PickingService implements IPickingService { if ( t - this.lastPickTime > 10 || target.type === 'contextmenu' || - target.type === 'click' + target.type === 'click' || + target.type === 'mouseup' ) { await this.pickingLayers(target); }