Jelajahi Sumber

【fix】【内容编辑】文字块属性面板,更多按钮置灰状态颜色太深,应该为圆角

tangchao 8 bulan lalu
induk
melakukan
903230b027

+ 7 - 2
PDF Office/PDF Master/Class/PDFWindowController/Side/RightSide/EditPDF/KMEditPDFTextPropertyViewController.swift

@@ -406,9 +406,14 @@ class KMEditPDFTextPropertyViewController: NSViewController {
         textPresuppositionResetVC?.target = self
         textPresuppositionResetVC?.action = #selector(resetTextPresuppositionButtonAction)
         textPresuppositionResetVC?.image = NSImage(named: "KMImagePropertPanelTextDefaultMore")!
-        textPresuppositionResetVC?.background_hov = KMAppearance.Layout.l1Color()
-        textPresuppositionResetVC?.background_disabled = KMAppearance.buttonDisabledColor()
         textPresuppositionResetVC?._image_disabled = NSImage(named: "KMImagePropertPanelTextDefaultMore")!
+        textPresuppositionResetVC?.background_hov = KMAppearance.Layout.l1Color()
+        textPresuppositionResetVC?.background_disabled = KMAppearance.view_bg_dis_color()
+        textPresuppositionResetVC?.cornerRadius = 4
+        textPresuppositionResetVC?.cornerRadius_hov = 4
+        textPresuppositionResetVC?.cornerRadius_disabled = 4
+        textPresuppositionResetVC?.borderWidth_disabled = 1
+        textPresuppositionResetVC?.borderColor_disabled = KMAppearance.view_border_dis_color()
         textPresuppositionResetVC?.updateUI()
         
 //        self.colorBox.borderColor = NSColor.km_init(hex: "#DFE1E5")

+ 1 - 0
PDF Office/PDF Master/Strings/en.lproj/Localizable.strings

@@ -4052,3 +4052,4 @@
 "Flip horizontal" = "Flip horizontal";
 "Flip vertical" = "Flip vertical";
 "Keep Proportions" = "Keep Proportions";
+"Redefine" = "Redefine";

+ 1 - 0
PDF Office/PDF Master/Strings/zh-Hant.lproj/Localizable.strings

@@ -4068,3 +4068,4 @@
 "Flip horizontal" = "水平翻轉";
 "Flip vertical" = "垂直翻轉";
 "Keep Proportions" = "等比調整";
+"Redefine" = "重定義";