Skip to content

Commit

Permalink
follow-up fix to #1347
Browse files Browse the repository at this point in the history
Fix again the issue #1319 which was reverted by PR #1347.
  • Loading branch information
MurakamiShinyu committed Jun 14, 2024
1 parent 7a14e66 commit 79bc75e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/vivliostyle/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,8 @@ export class BoxBreakPosition
}
if (!this.alreadyEvaluated) {
this.breakNodeContext = column.findBoxBreakPosition(this, penalty > 0);
this.alreadyEvaluated = true;
this.alreadyEvaluated =
!!this.breakNodeContext || penalty > 0 || !!column.pseudoParent;
}
return this.breakNodeContext;
}
Expand Down

0 comments on commit 79bc75e

Please sign in to comment.