fix: disable line break drawing in print and clean mode

This commit is contained in:
ThunderYu
2024-05-13 22:12:32 +08:00
committed by GitHub
parent 661a6c5907
commit fc55e557da
+2
View File
@@ -1891,6 +1891,8 @@ export class Draw {
// 换行符绘制
if (
isDrawLineBreak &&
!isPrintMode &&
this.mode !== EditorMode.CLEAN &&
!curRow.isWidthNotEnough &&
j === curRow.elementList.length - 1
) {