undefined is falsy, so even a successful Previous/Next click falls through to lower HUD panels (and does not consume the event). ShopHUD returns boolean and is consumed correctly; GuideHUD should do the same.
Disabled Previous also does not consume the click (canPrev is false → neither branch returns a consumed flag).
setStep has no equality guard, so updateModalHUDs rebuilds the overlay every frame while the guide is visible (C-7).
## Summary
`GuideHUD.handleClick` is typed and implemented as `void`. `HUDScene.handleClick` only stops walking panels when the handler is truthy:
```ts
if ((entry.panel as any).handleClick?.(hudX, hudY, screenX, screenY)) {
return true;
}
```
`undefined` is falsy, so even a successful Previous/Next click falls through to lower HUD panels (and does not consume the event). ShopHUD returns `boolean` and is consumed correctly; GuideHUD should do the same.
Disabled Previous also does not consume the click (`canPrev` is false → neither branch returns a consumed flag).
`setStep` has no equality guard, so `updateModalHUDs` rebuilds the overlay every frame while the guide is visible (C-7).
## Files
- `projects/spikersoft/src/app/_components/_games/dungeon-crawler/hud/guide-hud.ts` (`handleClick`, `setStep`)
- `libraries/game/gl-hud/src/lib/hud-scene.ts` (`handleClick`)
Resolved in spikersoft-angular PR #819 (merged to master). GuideHUD.handleClick returns boolean so prev/next clicks are consumed. Closing.
Resolved in spikersoft-angular [PR #819](https://git.spikersoft.com/spikerj/spikersoft-angular/pulls/819) (merged to `master`). GuideHUD.handleClick returns boolean so prev/next clicks are consumed. Closing.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
GuideHUD.handleClickis typed and implemented asvoid.HUDScene.handleClickonly stops walking panels when the handler is truthy:undefinedis falsy, so even a successful Previous/Next click falls through to lower HUD panels (and does not consume the event). ShopHUD returnsbooleanand is consumed correctly; GuideHUD should do the same.Disabled Previous also does not consume the click (
canPrevis false → neither branch returns a consumed flag).setStephas no equality guard, soupdateModalHUDsrebuilds the overlay every frame while the guide is visible (C-7).Files
projects/spikersoft/src/app/_components/_games/dungeon-crawler/hud/guide-hud.ts(handleClick,setStep)libraries/game/gl-hud/src/lib/hud-scene.ts(handleClick)Resolved in spikersoft-angular PR #819 (merged to
master). GuideHUD.handleClick returns boolean so prev/next clicks are consumed. Closing.