Pārlūkot izejas kodu

【fix】【内容编辑】文字块属性面板,对齐方式选中效果不明显

tangchao 7 mēneši atpakaļ
vecāks
revīzija
6444b6ed28

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

@@ -256,7 +256,7 @@ class KMEditPDFTextPropertyViewController: NSViewController {
         leftAlignmentVC?.image = NSImage(named: "KMImageNameEditPDFAlignLeft")!
         leftAlignmentVC?.image_sel = NSImage(named: "KMImageNameEditPDFAlignLeftSelect")!
         leftAlignmentVC?.background_hov = KMAppearance.Layout.l1Color()
-        leftAlignmentVC?.background_sel = KMAppearance.Layout.l1Color()
+        leftAlignmentVC?.background_sel = KMAppearance.view_bg_dis_color()
         leftAlignmentVC?.updateUI()
         
         centerAlignmentVC = KMDesignPropertySelector.init(withType: .Icon_Btn)
@@ -267,7 +267,7 @@ class KMEditPDFTextPropertyViewController: NSViewController {
         centerAlignmentVC?.image = NSImage(named: "KMImageNameEditPDFAlignCenter")!
         centerAlignmentVC?.image_sel = NSImage(named: "KMImageNameEditPDFAlignCenterSelect")!
         centerAlignmentVC?.background_hov = KMAppearance.Layout.l1Color()
-        centerAlignmentVC?.background_sel = KMAppearance.Layout.l1Color()
+        centerAlignmentVC?.background_sel = KMAppearance.view_bg_dis_color()
         centerAlignmentVC?.updateUI()
         
         rightAlignmentVC = KMDesignPropertySelector.init(withType: .Icon_Btn)
@@ -278,7 +278,7 @@ class KMEditPDFTextPropertyViewController: NSViewController {
         rightAlignmentVC?.image = NSImage(named: "KMImageNameEditPDFAlignRight")!
         rightAlignmentVC?.image_sel = NSImage(named: "KMImageNameEditPDFAlignRightSelect")!
         rightAlignmentVC?.background_hov = KMAppearance.Layout.l1Color()
-        rightAlignmentVC?.background_sel = KMAppearance.Layout.l1Color()
+        rightAlignmentVC?.background_sel = KMAppearance.view_bg_dis_color()
         rightAlignmentVC?.updateUI()
         
         let fontNameArray = KMEditPDFTextManager.manager.fetchTextFontNames()