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

画面尺寸添加兼容模式,修复部分设备缩放画面黑屏的问题 #475

Merged
merged 1 commit into from
Jan 6, 2024

Conversation

JimHans
Copy link

@JimHans JimHans commented Jan 5, 2024

为画面尺寸添加了兼容模式选项,兼容模式下会在使用Stretch.Fill方法的同时通过计算缩放比例实现正常的尺寸显示。经测试可以修复部分设备使用默认模式的Stretch.Uniform方法导致缩放窗口画面黑屏的问题。此外,测试还发现此模式下播放时窗口缩放性能比默认更好

@ywmoyue ywmoyue self-assigned this Jan 6, 2024
@ywmoyue ywmoyue added bug Something isn't working 已完成 labels Jan 6, 2024
@ywmoyue ywmoyue added this to the 待发布-4.6.26 milestone Jan 6, 2024
@ywmoyue ywmoyue merged commit 9115e5f into ywmoyue:dev Jan 6, 2024
@ywmoyue ywmoyue mentioned this pull request Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 已完成
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants