AncientBeast icon indicating copy to clipboard operation
AncientBeast copied to clipboard

colored glowing hexagons are always displayed on top of the black ones

Open LSUDOKO opened this issue 7 months ago • 4 comments

This fixes issue #2734 The key changes I made:

  1. Fixed the code formatting issue in the display hex conditional statements that was causing some code to appear on the same line.

  2. Modified the overlay rendering logic to ensure proper z-index ordering:

    • Added a condition to check if the overlay is active (when targetAlpha is true)
    • When active, we now first bring the display hex to the top of its group
    • Then bring the overlay hex to the top of its group
    • This ensures the colored glowing hexagons are always displayed on top of the black ones

LSUDOKO avatar May 17 '25 18:05 LSUDOKO

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ancientbeast ✅ Ready (Inspect) Visit Preview Jun 11, 2025 2:15pm

vercel[bot] avatar May 17 '25 18:05 vercel[bot]

@LSUDOKO Um, it's still under the black outline hexagons for me...

DreadKnight avatar May 27 '25 02:05 DreadKnight

@LSUDOKO Poke 🐻

DreadKnight avatar Jun 09 '25 18:06 DreadKnight

@LSUDOKO Hmm, in this scenario, glowing hexagon under Snow Bunny still overlapped by the black outline ones on both sides, unless Snow Bunny is hovered. It's still looks nicer than how it behaved without this PR though...

Screenshot_20250612_113739

DreadKnight avatar Jun 12 '25 08:06 DreadKnight

Fixed in PR #2807

DreadKnight avatar Nov 06 '25 14:11 DreadKnight