[Parity][panels][S2][R] 每次 syncFromWorld 都重建 NPC 菜单,高亮选项被打回第 0 项 #665
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
来源审计项:
panels#11— [S2][R] 每次 syncFromWorld 都重建 NPC 菜单,高亮选项被打回第 0 项src/client/ui-model/hud-model.ts:976-991:条件(… || (wp.npcMenu.npcId === npc.npcId && !wp.npcMenu.talking))只要菜单开着且不在对话中就成立,于是每次都调openNpcMenusrc/client/ui/world-panels.ts:1248-1259:每次新建对象,hoveredOptionIdx: 0hoveredOptionIdx。Resolved in commit
171f7c0(Milestone M6 Phase 1: World Panels, NPC Menus, Waypoints, Tooltips & Fail-Fast parity). Verified with tests/client/world-panels-batch6.test.ts and npm run typecheck.