From c717014dfa8220635ded10c966f5bd577212ce96 Mon Sep 17 00:00:00 2001 From: Kejian Date: Tue, 14 Mar 2023 20:40:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(interval):=20=E8=AE=BE=E7=BD=AEbackgroundSh?= =?UTF-8?q?ape=20capture=20=E4=B8=BA=20true,=20=E9=81=BF=E5=85=8D=E4=BA=A4?= =?UTF-8?q?=E4=BA=92=E6=97=B6=E8=A2=AB=E6=8D=95=E6=8D=89(=E5=A6=82=20eleme?= =?UTF-8?q?nt-selected)=20(#4714)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 可鉴 --- src/geometry/shape/interval/hollow-rect.ts | 1 + src/geometry/shape/interval/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/geometry/shape/interval/hollow-rect.ts b/src/geometry/shape/interval/hollow-rect.ts index 0ef4af7c59..258f937633 100644 --- a/src/geometry/shape/interval/hollow-rect.ts +++ b/src/geometry/shape/interval/hollow-rect.ts @@ -21,6 +21,7 @@ registerShape('interval', 'hollow-rect', { ...backgroundStyle, path: backgroundPath, }, + capture: false, zIndex: -1, name: BACKGROUND_SHAPE, }); diff --git a/src/geometry/shape/interval/index.ts b/src/geometry/shape/interval/index.ts index b02ff7e8f4..345dd28a6e 100644 --- a/src/geometry/shape/interval/index.ts +++ b/src/geometry/shape/interval/index.ts @@ -32,6 +32,7 @@ registerShape('interval', 'rect', { ...backgroundStyle, path: backgroundPath, }, + capture: false, zIndex: -1, name: BACKGROUND_SHAPE, });