Skip to content

Commit

Permalink
fix: corner 事件监听失效(之前只有点击文字时生效) (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
stone-lyl authored Feb 24, 2022
1 parent 8ad8002 commit 86584e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/s2-core/src/cell/corner-cell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 86584e0

Please sign in to comment.