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

修复字幕图片过大导致屏幕无法点击的问题 #770

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

FantasyKingdom
Copy link
Contributor

有些字幕图片非常大,是1920x1080,虽然里面的字幕文字只占其中一部分,周围的透明部分仍然抢占了界面的交换,导致界面无法点击。 这样改可以让所有字幕显示时都不影响界面的操作。
VideoSubtitleView(model: playerCoordinator.subtitleModel)
.allowsHitTesting(false)

@kingslay kingslay merged commit 866cc06 into kingslay:main Apr 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants