Skip to content

Add floating click numbers - #9

Open
matalvernaz wants to merge 1 commit into
FioraXena:mainfrom
matalvernaz:feature/floating-click-numbers
Open

Add floating click numbers#9
matalvernaz wants to merge 1 commit into
FioraXena:mainfrom
matalvernaz:feature/floating-click-numbers

Conversation

@matalvernaz

Copy link
Copy Markdown

Summary

  • Floating "+X" numbers animate upward from the gather button on each click
  • Random horizontal offset for visual variety
  • Marked aria-hidden so screen readers skip decorative elements

Closes #4

Test plan

  • Click Gather Mana — verify floating numbers appear and fade upward
  • Verify numbers show correct formatted amount
  • Verify screen reader does not announce floating numbers
  • Verify no performance issues with rapid clicking

🤖 Generated with Claude Code

Animated "+X" numbers float upward from the gather button on each click
with random horizontal offset for visual variety. Elements are marked
aria-hidden to keep screen readers from announcing decorative content.

Closes FioraXena#4

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Add floating click numbers for visual feedback

1 participant