From 86584e0072829e936b15ffb897195c837b871826 Mon Sep 17 00:00:00 2001 From: stone Date: Thu, 24 Feb 2022 14:25:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20corner=20=E4=BA=8B=E4=BB=B6=E7=9B=91?= =?UTF-8?q?=E5=90=AC=E5=A4=B1=E6=95=88=EF=BC=88=E4=B9=8B=E5=89=8D=E5=8F=AA?= =?UTF-8?q?=E6=9C=89=E7=82=B9=E5=87=BB=E6=96=87=E5=AD=97=E6=97=B6=E7=94=9F?= =?UTF-8?q?=E6=95=88=EF=BC=89=20(#1131)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/s2-core/src/cell/corner-cell.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/s2-core/src/cell/corner-cell.ts b/packages/s2-core/src/cell/corner-cell.ts index aac4524de7..ac6909f9f2 100644 --- a/packages/s2-core/src/cell/corner-cell.ts +++ b/packages/s2-core/src/cell/corner-cell.ts @@ -182,9 +182,10 @@ export class CornerCell extends HeaderCell { } private drawBackgroundShape() { - const { backgroundColorOpacity } = this.getStyle().cell; + const { backgroundColorOpacity, backgroundColor } = this.getStyle().cell; const attrs: ShapeAttrs = { ...this.getCellArea(), + fill: backgroundColor, opacity: backgroundColorOpacity, };