Browse Source

【编辑工具】页眉页脚 手动输入 无响应修复

lizhe 11 months ago
parent
commit
f3b319d16f

+ 1 - 0
PDF Office/PDF Master/Class/PDFTools/AddHeaderFooter/New/View/KMHeaderFooterView.swift

@@ -256,6 +256,7 @@ class KMHeaderFooterView: KMBaseXibView, NSTextViewDelegate, NSComboBoxDelegate
 
         for textView in textViewArr {
             textView.wantsLayer = true
+            textView.delegate = self
             // textView?.layer?.borderWidth = 1.0
             // textView?.layer?.borderColor = NSColor.gridColor.cgColor
         }

+ 3 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFListView/CPDFKitExtensions/CPDFAnnotationExtensions/CPDFAnnotationModel.m

@@ -799,6 +799,9 @@
                     lineWidth = 0.8;
                 [userDefaults setFloat:lineWidth forKey:CAnnotationSelfSignLineLineWidthKey];
                 break;
+            case CAnnotationTypeFreeText:
+                [userDefaults setFloat:lineWidth forKey:CFreeTextNoteLineWidthKey];
+                
             default:
                 break;
         }

File diff suppressed because it is too large
+ 853 - 322
PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/lizhe.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist