Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

修复因调整音量造成的UI卡死 #1271

Merged
merged 1 commit into from
Jun 27, 2022
Merged

修复因调整音量造成的UI卡死 #1271

merged 1 commit into from
Jun 27, 2022

Conversation

Richasy
Copy link
Owner

@Richasy Richasy commented Jun 27, 2022

Close

在手动拖动音量条时极易触发UI卡死,因为往调度器里塞了太多的任务

PR 类型

这个 PR 的目的是什么?

  • Bug 修复

当前行为是什么?

拖动音量条UI易卡死

新的行为是什么?

通过简单的防抖,减少大部分无用的音量变化,保证UI的响应

PR 检查清单

请检查你的 PR 是否满足以下要求:

  • 应用成功启动
  • 文件头已经被添加至所有源文件中
  • 包含破坏式更新

备注

@Richasy Richasy added the bug 🐛 异常或错误使得应用不能按预期工作 label Jun 27, 2022
@Richasy Richasy merged commit 174fb8d into main Jun 27, 2022
@Richasy Richasy deleted the richasy/fixVolumeLack branch June 27, 2022 03:32
@Richasy Richasy linked an issue Jun 28, 2022 that may be closed by this pull request
11 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🐛 异常或错误使得应用不能按预期工作
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] 调节音量后播放卡顿
1 participant