fix: fix cell border dash update #2818

This commit is contained in:
Rui-Sun 2024-11-19 18:48:29 +08:00
parent 885d1c1943
commit 92471c03b9
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@visactor/vtable",
"comment": "fix: fix cell border dash update #2818",
"type": "none"
}
],
"packageName": "@visactor/vtable"
}

View File

@ -531,6 +531,7 @@ export function updateCell(col: number, row: number, table: BaseTableAPI, addNew
strokeArrayColor: (cellTheme?.group as any)?.strokeArrayColor ?? undefined, strokeArrayColor: (cellTheme?.group as any)?.strokeArrayColor ?? undefined,
cursor: (cellTheme?.group as any)?.cursor ?? undefined, cursor: (cellTheme?.group as any)?.cursor ?? undefined,
cornerRadius: cellTheme?.group?.cornerRadius ?? 0, cornerRadius: cellTheme?.group?.cornerRadius ?? 0,
lineDash: cellTheme?.group?.lineDash ?? undefined,
y: table.scenegraph.getCellGroupY(row) y: table.scenegraph.getCellGroupY(row)
} as any); } as any);