Open
Conversation
添加一个新的延迟测试对话框,通过在可配置的 BPM 鸣响时点击来测量输入延迟。包括热键绑定、偏好设置以及在时间偏移组中的 UI 集成。支持应用当前或平均延迟值。
在英文和中文中为延迟测试 BPM 设置添加新的本地化键值。
…est dialog Adjust indentation and add new keys for delay test dialog components, including header, description, and control labels.
添加 CSS 自定义属性以支持浅色和深色模式主题,使用动态变量替换硬编码颜色,以提高一致性和可访问性。
使用专门的辅助函数替换直接的热键映射匹配以优化代码结构,并将默认的延迟测试点击键从空格键改为 "g" 以提升易用性。
更新首选项加载逻辑,以检测并将过时的延迟测试点击绑定重置为当前默认值,确保与之前版本的兼容性。
调整迁移逻辑,仅在恰好有一个绑定与旧版按键匹配时才重置延迟测试采样热键,以防止意外重置自定义的多绑定设置。
在迁移条件中增加了版本比较,确保仅在从旧偏好设置版本升级且恰好有一个绑定与旧版按键匹配时,才重置延迟测试点按快捷键。这避免了在较新版本或自定义设置中进行重置。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
添加一个新的延迟测试对话框,通过在可配置的 BPM 鸣响时点击来测量输入延迟。包括热键绑定、偏好设置以及在时间偏移组中的 UI 集成。支持应用当前或平均延迟值。