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

横屏模式下播放UI不居中 #1174

Open
RealManShao opened this issue Dec 25, 2024 · 3 comments
Open

横屏模式下播放UI不居中 #1174

RealManShao opened this issue Dec 25, 2024 · 3 comments
Labels
优化 something need to optimization

Comments

@RealManShao
Copy link

问题描述

横屏模式下播放UI不居中,目前怀疑是锁定图标位置过于靠左导致,看了一下代码发现这个图标的定位方式有些不一样,具体参考https://github.com/guozhigq/pilipala/blob/fa9d6f9bd67f3c3c4f603515500786bde8140f16/lib/plugin/pl_player/view.dart#L817C5-L817C47

复现步骤

正常播放可复现

预期行为

UI居中

系统信息

魅族20,Android14

相关截图或日志

S41226-02380239_com guozhigq pilipala
image

@guozhigq
Copy link
Owner

左边是安全区域

@RealManShao
Copy link
Author

谢谢回复,我指的是锁定播放器的标志较播放器UI偏左,比如返回按钮和锁定播放器按钮并不平行

@guozhigq
Copy link
Owner

guozhigq commented Jan 2, 2025

嗯 控制栏有安全距离的判断,锁定按钮没有,所以导致没有对齐。可以优化一下。

@guozhigq guozhigq added the 优化 something need to optimization label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
优化 something need to optimization
Projects
None yet
Development

No branches or pull requests

2 participants