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

[用户体验] 建议优化滚屏后摇杆选择逻辑 #147

Open
happytommyl opened this issue Jun 17, 2023 · 2 comments
Open

[用户体验] 建议优化滚屏后摇杆选择逻辑 #147

happytommyl opened this issue Jun 17, 2023 · 2 comments

Comments

@happytommyl
Copy link

现在滚屏后,用摇杆移动会选中之前选中的视频(目前选中逻辑不是很明确,有时候会选中之前的视频,有时候又会选中其他的视频,可能和鼠标位置有关)。
建议修改为选中当前屏幕内的第一个视频,或者统一选中逻辑。

@xfangfang
Copy link
Owner

这个问题我也有遇到过,只有在不同的输入方式混用时才会出现:比如鼠标和键盘混用。

目前选中的逻辑只有一个:之前选中过哪个组件,只要焦点没有发生过变化之后还是会选中哪个。如果滑动距离过长可能会出现组件复用,这时候还是会选中在之前的焦点组件上,但是因为复用了,所以“看起来”像是随机的选中到其他的组件上。

正常使用的情况下应该很少会出现不断在键盘和鼠标间切换的操作,所以优化的优先级会比较低,同时欢迎提交pr。

@happytommyl
Copy link
Author

主要是在Steamdeck上,把触摸板改成鼠标滚轮,再用摇杆选择会遇到这种情况

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants