mirror of
https://github.com/dream-num/univer.git
synced 2026-09-24 15:32:18 +08:00
fix: err with updateInlineDrawingCoordsAndBorder (#6002)
Co-authored-by: r.sergeev <r.sergeev@yadro.com>
This commit is contained in:
co-authored by
r.sergeev
parent
cac7151c72
commit
d6493f2464
@@ -486,7 +486,7 @@ export function updateInlineDrawingCoordsAndBorder(ctx: ILayoutContext, pages: I
|
||||
const lastDivide = line.divides[line.divides.length - 1];
|
||||
const lastGlyph = lastDivide.glyphGroup[lastDivide.glyphGroup.length - 1];
|
||||
|
||||
if (lastGlyph.streamType === DataStreamTreeTokenType.PARAGRAPH && paragraphStyle?.borderBottom) {
|
||||
if (lastGlyph?.streamType === DataStreamTreeTokenType.PARAGRAPH && paragraphStyle?.borderBottom) {
|
||||
line.borderBottom = paragraphStyle.borderBottom;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user