Skip to content

1.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Aug 04:02
· 12 commits to master since this release

Build Date: 2026-08-12

v1.7.0

🚀 Features

  • Hide KPS/Total Label: New toggle that hides the "KPS"/"Total" label text and centers the value in the middle of the box, updating every frame. Only shown for non-flat layouts (10K/12K/20K standard mode).
  • Stacked KPS/Total display: New "Stacked" toggle, only available when Centered is enabled. Label on top (compact font), value on bottom, both stacked inside the box.
  • Settings UI multi-tab refactor: Settings window split into 6 tabs — General, Layout, Display, Rain, Keys, Colors — with a permanent top bar for master toggles. Each tab's content lives in its own partial class file for cleaner organization and easier maintenance. Current tab index persisted to settings for cross-session recall.
  • Hex color input: Color picker fields now accept #RRGGBB / #RRGGBBAA hex paste/typing, auto-parsed to Unity Color. Input focus no longer resets on redraw; each channel input has a unique control name.
  • Foot key text centered: Foot key text is now centered in the key box instead of pinned to the top.

🐛 Bug Fixes

  • Profile data leak on switch: LoadProfile now creates new ProfileData() before FromJsonOverwrite — prevents fields from the previously loaded profile leaking into the newly loaded one.
  • Profile size not applied after switch: ResetKeyViewer() now re-applies KeyViewerSizeObject localScale at the end, so a profile's Size setting isn't overridden by the previous profile's slider value.
  • Centered text stuck after switching layouts: Turning centering on for one layout and switching to another now correctly restores the normal label/number layout.
  • Skip count update when main key count is hidden: HideMainKeyCount=true no longer creates a value text object or tries to update it.
  • Full keyboard KPS/Total toggle survives layout switch: Switching away from and back to the full keyboard no longer loses the KPS/Total show/hide state.

🔧 Performance

  • Smoother settings access and reworked rain-drop object pool (larger, no leftover drops).

🚀 新功能

  • 隐藏 KPS/Total 标签:新增「隐藏 KPS/Total 标签」开关。开启后 KPS/Total 框的 "KPS"/"Total" 文字消失,数值居中显示在框中间,每帧实时更新。仅非扁平(10K/12K/20K 标准模式)布局显示该开关。
  • KPS/Total 堆叠显示:新增「KPS/Total 上下堆叠」开关,仅在居中模式开启时可用。标签在上方(紧凑字号)、数值在下方,两者在框内上下堆叠互不遮挡。
  • 设置界面多标签页重构:设置窗口拆分为「常规」「布局」「显示」「雨线」「按键」「颜色」六个标签页,顶部常驻主开关;各标签页内容拆分为独立 partial 类文件,界面更整洁、代码更易维护。当前标签页索引持久化到配置,跨会话记忆。
  • 颜色选择器支持十六进制输入:颜色字段现在可以直接粘贴或输入 #RRGGBB / #RRGGBBAA,自动解析为 Unity 颜色。输入框获得焦点时不再被重置,每个通道有独立的控件名。
  • 脚键文本居中显示:脚键文字不再贴顶,改为整框居中显示,视觉更均衡。

🐛 Bug 修复

  • Profile 切换后数据残留:切换 Profile 时先用 new ProfileData() 清空旧数据,再 FromJsonOverwrite,避免旧 Profile 的字段泄露到新 Profile。
  • 切换 Profile 后尺寸不生效ResetKeyViewer() 末尾重新应用 KeyViewerSizeObject 的缩放,防止 Profile 的 Size 配置被之前的缩放值覆盖。
  • 切换布局后居中文本不恢复:在某个布局开启居中后切到别的布局,现在能正确恢复成正常的标签/数值布局。
  • 隐藏主键计数时跳过计数更新逻辑HideMainKeyCount 为 true 时不再创建 value 文本,也不会尝试更新它。
  • 全键盘布局切换后 KPS/Total 状态保持:切换主键布局后全键盘 KPS/Total 的显示/隐藏状态不再丢失。

🔧 性能

  • 配置访问更流畅,雨滴对象池优化。

Full Changelog: 1.6.5...1.7.0