fix: disable line break drawing in print and clean mode

pr675
ThunderYu 2 years ago committed by GitHub
parent 661a6c5907
commit fc55e557da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1891,6 +1891,8 @@ export class Draw {
// 换行符绘制 // 换行符绘制
if ( if (
isDrawLineBreak && isDrawLineBreak &&
!isPrintMode &&
this.mode !== EditorMode.CLEAN &&
!curRow.isWidthNotEnough && !curRow.isWidthNotEnough &&
j === curRow.elementList.length - 1 j === curRow.elementList.length - 1
) { ) {

Loading…
Cancel
Save