فهرست منبع

【导航栏】文件-新建-截图-从整个屏幕,缺少倒计时(架上有),且缩略图显示不全

liujiajie 10 ماه پیش
والد
کامیت
a1f91d8f09

+ 4 - 4
PDF Office/PDF Master/Class/ChromiumTabs/KMBrowserWindowController.swift

@@ -1562,9 +1562,9 @@ extension KMBrowserWindowController: KMSystemFileMenuProtocol {
             }
         }
     }
-    @IBAction func screenShot_FullScreenDelay(_ sender: Any?) {
+    @IBAction func screenShot_FullScreenDelay(_ sender: Any?) {//不延迟
         KMPrint("screenShot_FullScreenDelay")
-        KMScreenShotHandler.beginScreenShot_FullSreenWithDelayTime(3) { ima in
+        KMScreenShotHandler.beginScreenShot_FullSreenWithDelayTime(0) { ima in
             if let image = ima {
                 DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) {
                     let folderPath = self.createBaseFoldPath()
@@ -1586,9 +1586,9 @@ extension KMBrowserWindowController: KMSystemFileMenuProtocol {
             }
         }
     }
-    @IBAction func screenShot_FullScreen(_ sender: Any?) {
+    @IBAction func screenShot_FullScreen(_ sender: Any?) {//延迟3秒
         KMPrint("screenShot_FullScreen")
-        KMScreenShotHandler.beginScreenShot_FullSreenWithDelayTime(0) { ima in
+        KMScreenShotHandler.beginScreenShot_FullSreenWithDelayTime(3) { ima in
             if let image = ima {
                 DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) {
                     let folderPath = self.createBaseFoldPath()

+ 1 - 1
PDF Office/PDF Master/Class/Common/OC/StatusBar/KMStatusBar.m

@@ -206,7 +206,7 @@
 }
 
 - (void)screenshotFromEntireItemAction:(id)sender {
-    [[self fetchBrowserWindowC] screenShot_FullScreen:nil];
+    [[self fetchBrowserWindowC] screenShot_FullScreenDelay:nil];
 }
 
 - (void)preferencesItemAction:(id)sender {