소스 검색

ComPDFKit.Tool(win)-创建文字颜色判断条件优化

liyijie 7 달 전
부모
커밋
23f0bb94fd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Demo/Examples/ComPDFKit.Tool/CPDFViewerTool.TextEdit.cs

+ 1 - 1
Demo/Examples/ComPDFKit.Tool/CPDFViewerTool.TextEdit.cs

@@ -1643,7 +1643,7 @@ namespace ComPDFKit.Tool
                     textEditParam.FontSize = 14;
                 }
 
-                if (textEditParam.FontColor == null || textEditParam.FontColor.Length <= 3)
+                if (textEditParam.FontColor == null || textEditParam.FontColor.Length < 3)
                 {
                     textEditParam.FontColor = new byte[3] { 0, 0, 0 };
                 }