Skip to content

Commit 422c3c0

Browse files
committed
fix: frame border set array render bottom line position error #3684
1 parent 4a018fd commit 422c3c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/vtable/src/scenegraph/graphic/contributions/rect-contribution-render.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ export class SplitRectAfterRenderContribution implements IRectRenderContribution
226226
stroke,
227227
strokeArrayWidth || lineWidth,
228228
strokeArrayColor || strokeColor,
229-
Math.ceil(width + deltaWidth),
230-
Math.ceil(height + deltaHeight)
229+
rect.name !== 'table-border-rect' ? Math.ceil(width + deltaWidth) : width + deltaWidth,
230+
rect.name !== 'table-border-rect' ? Math.ceil(height + deltaHeight) : height + deltaHeight
231231
);
232232
}
233233
}

0 commit comments

Comments
 (0)