Browse Source

【fix】 BOTA,搜索结果高亮颜色有更新

tangchao 2 months ago
parent
commit
a810cd0bc4

+ 1 - 1
PDF Office/PDF Master/Class/PDFWindowController/OC_Tool/KMOCToolClass.swift

@@ -174,7 +174,7 @@ class KMOCToolClass {
                 
                 let highlightDic: [NSAttributedString.Key: Any] = [
                     .font : ComponentLibrary.shared.getFontFromKey("mac/body-s-bold"),
-                    .foregroundColor: KMNColorTools.colorPrimary_textLight()
+                    .foregroundColor: KMNColorTools.colorWarning_base()
                 ]
                 
                 if attributed.length > tRange.length + tRange.location {

+ 3 - 0
PDF Office/PDF Master/KMClass/Tools/Tool/KMNColorTools.swift

@@ -31,6 +31,9 @@ class KMNColorTools: NSObject {
         return ComponentLibrary.shared.getComponentColorFromKey("colorPrimary/textLight")
     }
     
+    @inline (__always) class func colorWarning_base() -> NSColor {
+        return ComponentLibrary.shared.getComponentColorFromKey("colorWarning/base")
+    }
     // MARK: - bg Color
     
     @inline (__always) class func colorBg_popup() -> NSColor {

+ 10 - 4
PDF Office/PDF Reader Pro.xcodeproj/project.pbxproj

@@ -17987,11 +17987,13 @@
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_ENTITLEMENTS = "PDF Reader Pro DMG.entitlements";
 				CODE_SIGN_IDENTITY = "Apple Development";
-				CODE_SIGN_STYLE = Automatic;
+				"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
+				CODE_SIGN_STYLE = Manual;
 				COMBINE_HIDPI_IMAGES = YES;
 				CURRENT_PROJECT_VERSION = 202410250;
 				DEFINES_MODULE = YES;
-				DEVELOPMENT_TEAM = F552E2RJ98;
+				DEVELOPMENT_TEAM = "";
+				"DEVELOPMENT_TEAM[sdk=macosx*]" = 4GGQPGRTSV;
 				ENABLE_HARDENED_RUNTIME = YES;
 				EXCLUDED_ARCHS = "";
 				FRAMEWORK_SEARCH_PATHS = (
@@ -18164,6 +18166,7 @@
 				PRODUCT_BUNDLE_IDENTIFIER = com.brother.pdfreaderprofree.mac;
 				PRODUCT_NAME = "PDF Reader Pro";
 				PROVISIONING_PROFILE_SPECIFIER = "";
+				"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = pdfreaderpro_development_provisioning;
 				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG VERSION_FREE VERSION_DMG";
 				SWIFT_EMIT_LOC_STRINGS = YES;
 				SWIFT_OBJC_BRIDGING_HEADER = "PDF Master/PDF_Reader_Pro DMG-Bridging-Header.h";
@@ -18181,11 +18184,13 @@
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_ENTITLEMENTS = "PDF Reader Pro DMG.entitlements";
 				CODE_SIGN_IDENTITY = "Apple Development";
-				CODE_SIGN_STYLE = Automatic;
+				"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
+				CODE_SIGN_STYLE = Manual;
 				COMBINE_HIDPI_IMAGES = YES;
 				CURRENT_PROJECT_VERSION = 202410250;
 				DEFINES_MODULE = YES;
-				DEVELOPMENT_TEAM = F552E2RJ98;
+				DEVELOPMENT_TEAM = "";
+				"DEVELOPMENT_TEAM[sdk=macosx*]" = 4GGQPGRTSV;
 				ENABLE_HARDENED_RUNTIME = YES;
 				EXCLUDED_ARCHS = "";
 				FRAMEWORK_SEARCH_PATHS = (
@@ -18356,6 +18361,7 @@
 				PRODUCT_BUNDLE_IDENTIFIER = com.brother.pdfreaderprofree.mac;
 				PRODUCT_NAME = "PDF Reader Pro";
 				PROVISIONING_PROFILE_SPECIFIER = "";
+				"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = pdfreaderpro_development_provisioning;
 				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "VERSION_FREE VERSION_DMG";
 				SWIFT_EMIT_LOC_STRINGS = YES;
 				SWIFT_OBJC_BRIDGING_HEADER = "PDF Master/PDF_Reader_Pro DMG-Bridging-Header.h";