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