diff --git a/common/changes/@visactor/vtable/fix-fix-linsDash-update_2024-11-19-10-48.json b/common/changes/@visactor/vtable/fix-fix-linsDash-update_2024-11-19-10-48.json new file mode 100644 index 000000000..ac29c3012 --- /dev/null +++ b/common/changes/@visactor/vtable/fix-fix-linsDash-update_2024-11-19-10-48.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@visactor/vtable", + "comment": "fix: fix cell border dash update #2818", + "type": "none" + } + ], + "packageName": "@visactor/vtable" +} \ No newline at end of file diff --git a/packages/vtable/src/scenegraph/group-creater/cell-helper.ts b/packages/vtable/src/scenegraph/group-creater/cell-helper.ts index e5760ab67..5bdf39a01 100644 --- a/packages/vtable/src/scenegraph/group-creater/cell-helper.ts +++ b/packages/vtable/src/scenegraph/group-creater/cell-helper.ts @@ -531,6 +531,7 @@ export function updateCell(col: number, row: number, table: BaseTableAPI, addNew strokeArrayColor: (cellTheme?.group as any)?.strokeArrayColor ?? undefined, cursor: (cellTheme?.group as any)?.cursor ?? undefined, cornerRadius: cellTheme?.group?.cornerRadius ?? 0, + lineDash: cellTheme?.group?.lineDash ?? undefined, y: table.scenegraph.getCellGroupY(row) } as any);