fix: Duty List hide-unless-hovered + tooltip job gauge cost section formatting #3

Merged
KnackAtNite merged 1 commits from feature/improvement into main 2026-03-03 00:39:31 +00:00
Contributor

Duty List & Scenario Guide:

  • Fix 'Hide unless hovered' visibility option not working. Override
    GetScreenBounds() in DutyListScenarioHud so the hover hit-test rect
    matches the drawn panel position exactly (same formula as draw code).

Tooltips (game-style formatting):

  • Treat job gauge/resource costs as a new section with section label color
    (e.g. Soul Gauge Cost, Beast Gauge Cost, Lily Cost, Kenki, Ninki,
    Cartridge, Oath, Polyglot, Addersgall, Astral/Lunar Sign, Battery/Heat).
  • In BuildFormattedActionTooltipBody: recognize gauge cost lines in the
    stats block and emit them as their own section (newline + green label).
  • Fix tooltip break when stats and description share the first block:
    switch to description on first non-stats line instead of dropping it,
    so ability description text is never lost.

Made-with: Cursor

Duty List & Scenario Guide: - Fix 'Hide unless hovered' visibility option not working. Override GetScreenBounds() in DutyListScenarioHud so the hover hit-test rect matches the drawn panel position exactly (same formula as draw code). Tooltips (game-style formatting): - Treat job gauge/resource costs as a new section with section label color (e.g. Soul Gauge Cost, Beast Gauge Cost, Lily Cost, Kenki, Ninki, Cartridge, Oath, Polyglot, Addersgall, Astral/Lunar Sign, Battery/Heat). - In BuildFormattedActionTooltipBody: recognize gauge cost lines in the stats block and emit them as their own section (newline + green label). - Fix tooltip break when stats and description share the first block: switch to description on first non-stats line instead of dropping it, so ability description text is never lost. Made-with: Cursor
Dawnsorrow added 1 commit 2026-03-02 19:34:48 +00:00
Duty List & Scenario Guide:
- Fix 'Hide unless hovered' visibility option not working. Override
  GetScreenBounds() in DutyListScenarioHud so the hover hit-test rect
  matches the drawn panel position exactly (same formula as draw code).

Tooltips (game-style formatting):
- Treat job gauge/resource costs as a new section with section label color
  (e.g. Soul Gauge Cost, Beast Gauge Cost, Lily Cost, Kenki, Ninki,
  Cartridge, Oath, Polyglot, Addersgall, Astral/Lunar Sign, Battery/Heat).
- In BuildFormattedActionTooltipBody: recognize gauge cost lines in the
  stats block and emit them as their own section (newline + green label).
- Fix tooltip break when stats and description share the first block:
  switch to description on first non-stats line instead of dropping it,
  so ability description text is never lost.

Made-with: Cursor
KnackAtNite merged commit ee7a2d71a0 into main 2026-03-03 00:39:31 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KnackAtNite/HSUI#3