Skip to content

fix(client): land undo button above phase HUD#3693

Open
kiannidev wants to merge 3 commits into
phase-rs:mainfrom
kiannidev:fix/issue-3276-undo-button-z-index
Open

fix(client): land undo button above phase HUD#3693
kiannidev wants to merge 3 commits into
phase-rs:mainfrom
kiannidev:fix/issue-3276-undo-button-z-index

Conversation

@kiannidev

Copy link
Copy Markdown
Contributor

Summary

  • Move the mana-tap undo control out of the z-10 lands column and render it as a z-30 overlay on the middle row
  • Keeps the undo button clickable when the phase tracker HUD (z-20) overlaps the lands column footer

Test plan

  • Manual: tap a land for mana, confirm Undo is clickable while the phase tracker is visible in 1v1

Fixes #3276

Made with Cursor

The undo control sat at the bottom of the lands column (z-10) while the
player HUD band uses z-20, blocking clicks. Render it as a z-30 overlay
anchored to the middle row instead.

Fixes phase-rs#3276

Co-authored-by: Cursor <cursoragent@cursor.com>
@kiannidev kiannidev requested a review from matthewevans as a code owner June 18, 2026 00:01
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@matthewevans

Copy link
Copy Markdown
Member

VERDICT: defer-frontend

This is a small frontend-only positioning change. I don’t see an engine/rules concern in the diff: it moves the existing land-column extra control into a z-30 overlay inside the middle row and keeps the child interactive via pointer-events-auto.

I’m leaving this for maintainer visual review rather than auto-enqueueing, because this is UI polish and the PR currently has only a manual test note, not a screenshot/screen recording of the overlapped phase-HUD case.

@matthewevans matthewevans added the bug Bug fix label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Undo Button UI — The undo button gets stuck behind the phase tracker

2 participants