fix(portal): 修正背包打开时右击回城书生成传送门遮挡、pointerEvents 穿透与城镇变体坐标同步 (#394) #490

Merged
troytt merged 1 commits from fix/issue-394-portal-visibility into main 2026-09-27 05:34:29 +00:00
Owner

Fixes #394

  • 优先在角色左侧可通行子格生成野外传送门,避免右侧背包面板打开或悬浮提示框遮挡新生成的回城传送门
  • 在 mousemove 实时更新 #d2-hud-canvas 的 pointerEvents 并在画布 mousedown 被 HUD 拦截时兜底转发,消除打开背包后未先移动鼠标直接右击回城书偶发吞点击问题
  • 在跨场景进入城镇时同步实际加载城镇变体的 DS1 Town Portal Spot 坐标
Fixes #394 - 优先在角色左侧可通行子格生成野外传送门,避免右侧背包面板打开或悬浮提示框遮挡新生成的回城传送门 - 在 `mousemove` 实时更新 `#d2-hud-canvas` 的 `pointerEvents` 并在画布 `mousedown` 被 HUD 拦截时兜底转发,消除打开背包后未先移动鼠标直接右击回城书偶发吞点击问题 - 在跨场景进入城镇时同步实际加载城镇变体的 DS1 Town Portal Spot 坐标
troytt added 1 commit 2026-09-27 05:34:27 +00:00
troytt merged commit 7cc56ed967 into main 2026-09-27 05:34:29 +00:00
troytt deleted branch fix/issue-394-portal-visibility 2026-09-27 05:34:29 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: troytt/diablo2-web#490
No description provided.