Преглед на файлове

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 };
                 }