fix(ui): show drop and trap hover widgets on hex hover - #3184
Draft
FhiPunkVn wants to merge 1 commit into
Draft
Conversation
Fixes FreezingMoon#2206 (bounty: 30 XTR). When hovering a hex that has drops and/or traps (and no unit panel), render top widgets in #unit-hover-panel: - Drops: name + altered stats with +/- and green/red coloring - Traps: name/icon in player-colored frame + short effect description
|
@sophiacute2024-crypto is attempting to deploy a commit to the FreezingMoon Team on Vercel. A member of the Team first needs to authorize it. |
This was referenced Jul 10, 2026
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
DreadKnight
marked this pull request as draft
July 10, 2026 23:09
Member
|
@FhiPunkVn Hovering traps is nothing like requested, needs more work! Hovering drops shouldn't show the text ("Drop: meat") as that looks kinda bad and it's already in lower right corner. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements top hover widgets when the cursor is over a hexagon that has drops and/or traps, matching the unit hover panel pattern.
Fixes #2206
Details
+/-and green/red coloringonSelectwhen the hex has no creature unit panel (avoids fighting creature hover)Test plan