Skip to content

fix(ui): clear ability upgrade CSS when skipping turn - #3187

Closed
FhiPunkVn wants to merge 1 commit into
FreezingMoon:masterfrom
FhiPunkVn:fix/ability-icon-skip-upgrade-snap-2016
Closed

fix(ui): clear ability upgrade CSS when skipping turn#3187
FhiPunkVn wants to merge 1 commit into
FreezingMoon:masterfrom
FhiPunkVn:fix/ability-icon-skip-upgrade-snap-2016

Conversation

@FhiPunkVn

Copy link
Copy Markdown

Summary

When skipping during an ability upgrade animation, strip upgrade CSS classes so ability icons don't snap later.

Fixes #2016

Change

On skip turn click:

  • clear animationUpgradeTimeOutID (already present)
  • remove upgradeIcon / upgradeTransition from all ability buttons

Test plan

  • Trigger ability upgrade animation, skip turn mid-animation
  • On next own turn, ability icons animate/transition normally (no snap)

@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

@sophiacute2024-crypto is attempting to deploy a commit to the FreezingMoon Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ancientbeast Ready Ready Preview Jul 10, 2026 2:22pm

@FhiPunkVn

Copy link
Copy Markdown
Author

Closing to enforce MAX_OPEN_PRS_PER_REPO=2 on AncientBeast and reduce review noise.

Keeping highest verified XTR bounty PRs (#3184, #3189). This branch can be reopened if a maintainer prefers this fix first.

AncientBeast is now BLOCKED_FROM_AUTO_START — babysit only, no new auto PRs.

@FhiPunkVn FhiPunkVn closed this Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ability icons snap if skipping during upgrade [bounty: 7 XTR]

1 participant