nashaofu / screenshots

A screenshot plugin for electron and react

Home Page:https://nashaofu.github.io/screenshots/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mac 截图之后点击 保存 确认 取消 都会将其他窗口置顶

iceshou opened this issue · comments

Mac 截图之后点击 保存 确认 取消 都会将其他窗口置顶

可以录屏看看吗?我这边好像是只会置顶截图的应用

commented
2022-12-30.20.41.34.mov

这个问题,可能和使用方式有关系:

  1. 点保存的时候,触发了 save 事件,处理这个事件的时候,触发了:将应用重新focus的逻辑
  2. 取消保存时,会留在截图界面,而不是退出截图
  3. 重新截图,点取消时,触发了cancel事件,但应用认为已经处理过重新focus逻辑了,就没在处理