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

播放进度条在制作歌词暂停时不应该能被拖动 #20

Closed
pzhlkj6612 opened this issue May 1, 2019 · 0 comments
Closed

播放进度条在制作歌词暂停时不应该能被拖动 #20

pzhlkj6612 opened this issue May 1, 2019 · 0 comments
Labels
_Refactor the player 整个播放逻辑需要重做。 _UI-functionality 影响功能的界面问题。
Milestone

Comments

@pzhlkj6612
Copy link
Member

使用当前最新版本 04b7dae ,在制作歌词时暂停, sliderSong 可以被拖动并释放到任意位置,继续播放会使其跳到当前播放位置。

#8 提到,不支持在制作歌词时进行 seek 操作,所以在制作模式下 sliderSong 应该表现为“完全无法被拖动”,或者在之后实现在制作时也能 seek 。


制作歌词时, bInMakingMode = trueAdjustingPos = falsevoid BottomWidget::positionChanged(int position) 持续更新 sliderSong 位置。

制作中暂停时,不再自动更新位置,由于 void BottomWidget::onSliderSongMoved(int position) 中的处理不完整,就能拖动并释放 sliderSong 到任意位置。

BensonLaur added a commit that referenced this issue Jul 13, 2019
…ther thread (同时不影响之前播放逻辑)

2、重新审视歌曲滚动条操作问题题问问题,确定最终逻辑为——在音频结束时禁用进度操作,在音频成功被载入时启用进度操作(除制作模式),一次解决 #19  #20 #21 提到的问题
@BensonLaur BensonLaur added the resolved-in-next-version The problem has been fixed or the requirement has been implemented label Jul 13, 2019
@pzhlkj6612 pzhlkj6612 added _Refactor the player 整个播放逻辑需要重做。 _UI-functionality 影响功能的界面问题。 labels Feb 23, 2020
@pzhlkj6612 pzhlkj6612 added this to the v3.1.1 milestone Feb 23, 2020
@pzhlkj6612 pzhlkj6612 removed the resolved-in-next-version The problem has been fixed or the requirement has been implemented label Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
_Refactor the player 整个播放逻辑需要重做。 _UI-functionality 影响功能的界面问题。
Projects
None yet
Development

No branches or pull requests

2 participants