فهرست منبع

【综合】文字编辑功能空状态修改,默认网址修改

niehaoyu 9 ماه پیش
والد
کامیت
937a24c1e4

+ 3 - 3
PDF Office/PDF Master/Class/PDFWindowController/Form/KMFormActionButtonPopWindowController.xib

@@ -6,7 +6,7 @@
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
-        <customObject id="-2" userLabel="File's Owner" customClass="KMFormActionButtonPopWindowController" customModule="PDF_Reader_Pro" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMFormActionButtonPopWindowController" customModule="PDFTech_Editor" customModuleProvider="target">
             <connections>
                 <outlet property="actionComboBox" destination="Bmd-Qo-clZ" id="XeC-hy-MxS"/>
                 <outlet property="actionLabel" destination="gOb-OI-feU" id="kON-pw-8oW"/>
@@ -29,7 +29,7 @@
             <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
             <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
             <rect key="contentRect" x="196" y="240" width="520" height="270"/>
-            <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1415"/>
+            <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
             <view key="contentView" wantsLayer="YES" id="se5-gp-TjO">
                 <rect key="frame" x="0.0" y="0.0" width="520" height="270"/>
                 <autoresizingMask key="autoresizingMask"/>
@@ -148,7 +148,7 @@ DQ
                     </textField>
                     <textField focusRingType="none" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="aQw-DO-oGy">
                         <rect key="frame" x="40" y="85" width="320" height="21"/>
-                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="https://www.pdfreaderpro.com" drawsBackground="YES" id="fpF-jv-uu6">
+                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="https://www.pdfreaderpro.com/pdftecheditor" drawsBackground="YES" id="fpF-jv-uu6">
                             <font key="font" metaFont="system"/>
                             <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
                             <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>

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

@@ -473,6 +473,9 @@ class KMEditImagePropertyViewController: NSViewController {
             self.flipHorizontalVC?.view.alphaValue = 0.5
         }
         self.reloadData()
+        if self.noBackgroundView.isHidden == false {
+            self.opacityVC?.enabled = false
+        }
     }
     
     func updateImageAreasOpacity(opacity: CGFloat, state: KMOperationState, needListView: Bool = true) {