Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
6494289d82
commit
afcbf3a52f
@@ -758,7 +758,10 @@ export function CustomFormBuilder() {
|
||||
const indentPt = indentPx * 0.75; // px → pt
|
||||
const segMaxW = maxW - indentPt;
|
||||
const startX = margin + indentPt;
|
||||
const visualLines = runsToLines(seg.runs);
|
||||
const runsForLayout: InlineRun[] = seg.marker
|
||||
? [{ text: `${seg.marker} ` }, ...seg.runs]
|
||||
: seg.runs;
|
||||
const visualLines = runsToLines(runsForLayout);
|
||||
if (visualLines.length === 0 || (visualLines.length === 1 && visualLines[0].length === 0)) {
|
||||
y += lineH;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user