zdg #175

Merged
zhengdegang merged 5 commits from zdg into main 2024-09-05 01:31:13 +08:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 1c69d10263 - Show all commits

View File

@ -275,11 +275,13 @@ const eventHandles = (type, win) => {
// 监听窗口的激活事件
win.on('focus', async () => {
console.log('激活窗口')
toolState.isPdfWin=true
await sleep(20) // 延时
toolState.showBoardAll=false //恢复默认值
await sleep(50) // 延时
// await sleep(50) // 延时
// 穿透开启
if (toolState.isToolWin) ipcRenderer.invoke('tool-sphere:set:ignore', true)
});
const on = {
onClosed: () => {