A screenshot plugin for electron and react
Home Page:https://nashaofu.github.io/screenshots/
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
S112 opened this issue 2 years ago · comments
在electron环境下,windows端,点击截图,整个窗口会先进行一次晃动。 如下面的视频: https://user-images.githubusercontent.com/7778864/186395988-4a257c23-0af4-45e5-951b-3765cdcfe528.mp4
+1 请问解决了吗
麻烦作者大大看看呢 @nashaofu
src/screenshots.ts文件 这行代码,位置改一下,就可以了。
这个很难优化吧,感觉是electron渲染问题,elctron的窗口显示有一个动画,你上面的代码是做了延迟,但是对于低性能电脑来说,可能延迟时间是不够的,还是会看到闪烁一下。