Skip to content

改回老版本播放器控件#2186

Open
keyboard2005 wants to merge 1 commit into
Predidit:mainfrom
keyboard2005:revert-to-old-video-controls
Open

改回老版本播放器控件#2186
keyboard2005 wants to merge 1 commit into
Predidit:mainfrom
keyboard2005:revert-to-old-video-controls

Conversation

@keyboard2005

Copy link
Copy Markdown
Contributor

我看了你今天刚发布的版本, 只是临时吧加速指示器缩小了尺寸,和其他的指示器完全不协调, 我认为老版本指示器部分就足够简单足够好了,没有必要使用现在的新版。

加速指示器的推入效果很抢占注意力 哪怕是原地淡入也比推入要好,面对移动的物体注意力会被分散程度比原地出现要高,

当然这一切有可能也只是我的不习惯导致的, 但不习惯的人应该会很多。

#2139
#2164

Remove the standalone PlayerAdjustmentHud widget and replace it with lightweight inline overlay widgets in player_item_panel.dart and smallest_player_item_panel.dart. Update player_item.dart to replace the old adjustment HUD timer with hideVolumeUITimer, add _horizontalDragHold, simplify brightness/volume show/hide logic, and handle horizontal drag holds. Remove seekDirection from PlayerPanelController and adjust gesture handling accordingly. Overall: simplify HUD presentation, reduce indirection, and clean up related timers/holds.
@keyboard2005 keyboard2005 marked this pull request as ready for review June 7, 2026 10:06
@keyboard2005

Copy link
Copy Markdown
Contributor Author

@Predidit 你觉得可以吗 , 这个提交包含了代码

@keyboard2005 keyboard2005 changed the title 请求改回老版本播放器控件 改回老版本播放器控件 Jun 7, 2026
@Predidit

Predidit commented Jun 7, 2026

Copy link
Copy Markdown
Owner

我需要考虑一下这个PR,因为本身将 HUD 独立出来是期待的重构

@keyboard2005

keyboard2005 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

我需要考虑一下这个PR,因为本身将 HUD 独立出来是期待的重构

我觉得没有必要 现在已经足够简单了 或者我可以提交一份独立HUD 但样式是老版本 的提交 你看怎么样?

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