summaryrefslogtreecommitdiff
path: root/docs/维护说明.md
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-29 13:46:49 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-29 13:46:49 +0800
commit0439e21a0582ab892c0e4bfa936c4d62ca2bcc61 (patch)
tree42cbf64e93c84f9644b2d001b12d4288b42f6a38 /docs/维护说明.md
parente959b1df06f29fe6542cc6cbe2f9005f620d5dc9 (diff)
downloadliving-village-0439e21a0582ab892c0e4bfa936c4d62ca2bcc61.tar.gz
p76: 底部条/槽位药丸化 + 对话/交互面板半透明描边与折行
DrawHotbar 去掉整条大色块与实心槽位,改半透明条+1px 描边+发丝线,槽位内键位小片与图形并排,选中用 accent 描边;新增 HudLayout.actionLegend(取真实 controlRows 的键位+动作名图例,纯展示不改绑定)。DrawDialogOverlay/DrawPanel 背景改半透明描边语言,禁用近纯黑底。新增 HudLayout.wrapText/wrapLines 按实测宽度折行,DrawPanel 弃用 Substring 截断。新增 P76HotbarPanelTests(4 例);LV_P43_SHOT 昼/夜 + LV_P44_SHOT 对话面板证据 + analyze-p76(四区无实心近黑块、亮像素充足,verdict=PASS)。Desktop 358/358、Kernel 120/120、digest 与 p70 一致。
Diffstat (limited to 'docs/维护说明.md')
-rw-r--r--docs/维护说明.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/维护说明.md b/docs/维护说明.md
index e1a81fa..43e07d3 100644
--- a/docs/维护说明.md
+++ b/docs/维护说明.md
@@ -236,6 +236,25 @@ dotnet src/LivingVillage.Headless/bin/Release/net8.0/LivingVillage.Headless.dll
~2.6%(相对整宽深色带基线 100% 下降 >97%)、无实心 24×24 黑块、亮字像素 >1000,落
`docs/evidence/p75-*`。
+## P76 底部条 / 槽位药丸化与面板换行
+
+- 底部快捷栏(`Game.DrawHotbar`):去掉整条大色块与实心 40×40 槽位填充,改与顶部条同语言——
+ 半透明条药丸 + 1px 描边 + `hotbarBarHairline` 发丝线;每个槽位内 `hotbarKeyChipRect`(键位
+ 符号小片)+ `hotbarIconRectBesideKey`(图形)**并排**。选中格用 accent 描边 + 底部发丝线,不再
+ 大色块。`selectSlotForDigit/cycleHotbar/hotbarInputAllowed/hotbarSlotRect` 等语义与 1-0 映射**不变**。
+- 底部**图例**:`HudLayout.actionLegend` 取自真实 `MenuState.controlRows`(E/Q/TAB/C/L/F6/F7),
+ 以「键位符号 + 动作名」并排展示;**纯展示,不新增/改动任何绑定**。
+- 对话/交互面板:`Game.DrawDialogOverlay` 背景由近纯黑 (14,22,30,232) 改为半透明深青
+ (46,60,70,200)/(30,42,52,210) + 1px 描边 + accent 发丝线;`Game.DrawPanel` 同步改半透明描边语言。
+- 面板换行:新增 `HudLayout.wrapText/wrapLines`(按 `FloatingPrompt.measureWidth` 实测宽度逐字折行),
+ `DrawPanel` 弃用 `Substring` 整行截断,改折行;行长不溢出、内容不丢字;Esc 关闭行为不变。
+- 保存成功/失败短暂反馈沿用既有 `DrawTransientStatus`,未重做。
+- **回归**:`P76HotbarPanelTests`(键位小片与图形并排在槽内、图例项全部来自真实 controlRows 且键序
+ 一致、折行不超宽且不丢字、`wrapLines` 铺平无损失)。
+- **证据**:`LV_P43_SHOT=1` 昼/夜(同机位)+ `LV_P44_SHOT=1` 对话面板打开态 →
+ `scripts/analyze-p76.py`:底部条/图例/对话/任务四区近黑占比 ≤0.013–0.116、无实心 24×24 近黑块、
+ 亮像素充足,落 `docs/evidence/p76-*`。
+
## P17 批验:场景细节 / 人物动效 / 昼夜光照精修
- ①街边中式细节物:`scripts/make-jiangnan-art.py` 世界图集由 25 格扩到 28 格(新增 slot 25 石灯笼 /