Преглед на файлове

【订阅】Form表单 付费弹窗调整

lizhe преди 11 месеца
родител
ревизия
70c82596e2
променени са 1 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. 5 3
      PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController+UI.swift

+ 5 - 3
PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController+UI.swift

@@ -129,9 +129,11 @@ extension KMMainViewController: KMToolbarControllerDelegate {
     }
     
     func changeAnnotationModeAction(item: KMToolbarClickButton) {
-        if !IAPProductsManager.default().isAvailableAllFunction(){
-            KMPurchaseCompareWindowController.sharedInstance().showWindow(nil)
-            return
+        if self.listView.toolMode == .formToolMode {
+            if !IAPProductsManager.default().isAvailableAllFunction(){
+                KMPurchaseCompareWindowController.sharedInstance().showWindow(nil)
+                return
+            }
         }
         
         if (self.rightMouseEventing) {