Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a setting that allows the user to specify snapshot mode in windows #982

Closed
wants to merge 1 commit into from

Conversation

Hzbeta
Copy link

@Hzbeta Hzbeta commented Nov 5, 2021

fixed #981
增加自定义选项,可以自行指定win平台下的截图方式(在可用的情况下)

@yimelia
Copy link
Member

yimelia commented Nov 29, 2021

你好,感谢你的PR!
有个疑问是,设置中指定了3个截图模式,'auto','derict','cutout',中间那个模式具体是想要做成什么效果呢?

@Hzbeta
Copy link
Author

Hzbeta commented Nov 29, 2021

你好,感谢你的PR! 有个疑问是,设置中指定了3个截图模式,'auto','derict','cutout',中间那个模式具体是想要做成什么效果呢?

三个模式分别是:auto 自动选择(默认设置),derict 优先使用句柄直接区域截图,cutout 优先全屏截图后裁剪
后面发现代码里默认就是优先使用句柄直接区域截图,就没多加逻辑判断,但是考虑之后可能自动模式可能会有更改(比如改成默认是 cutout ),出于以后的兼容性考虑,就保留了三个模式选项,要是没必要的话也可以不留。

@Hzbeta Hzbeta closed this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants