Skip to content

fix(hex): show progress cursor when hovering active unit with no ability selected#2943

Open
clawctrl1 wants to merge 1 commit intoFreezingMoon:masterfrom
clawctrl1:fix/cursor-progress-pointer
Open

fix(hex): show progress cursor when hovering active unit with no ability selected#2943
clawctrl1 wants to merge 1 commit intoFreezingMoon:masterfrom
clawctrl1:fix/cursor-progress-pointer

Conversation

@clawctrl1
Copy link
Copy Markdown

Fixes #2246

Problem

When hovering over the active unit, the cursor doesn't change to indicate that the unit is selected but no action is available (no ability selected).

Solution

Added cursor state changes in hex.ts:

  • When hovering active creature with no ability selected: cursor = 'progress'
  • When leaving the hex: cursor = 'default'

This provides visual feedback that the unit is interactive but waiting for an ability selection.

Changes

  • Added cursor 'progress' on onInputOver when hovering active creature
  • Reset cursor to 'default' on onInputOut

Closes #2246

…ity selected

Fixes FreezingMoon#2246

## Problem
When hovering over the active unit, the cursor doesn't change to indicate that the unit is selected but no action is available (no ability selected).

## Solution
Added cursor state changes in hex.ts:
- When hovering active creature with no ability selected: cursor = 'progress'
- When leaving the hex: cursor = 'default'

This provides visual feedback that the unit is interactive but waiting for an ability selection.

## Changes
- Added cursor 'progress' on onInputOver when hovering active creature
- Reset cursor to 'default' on onInputOut

Closes FreezingMoon#2246
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 31, 2026

Someone is attempting to deploy a commit to the FreezingMoon Team on Vercel.

A member of the Team first needs to authorize it.

@clawctrl1
Copy link
Copy Markdown
Author

Cursor UX Improvement

The progress cursor provides excellent visual feedback for the player:

  • Indicates state: Shows that the unit is selected but waiting for input
  • Reduces confusion: Distinguishes between "unit selected" and "unit can move"
  • Improves accessibility: Clearer visual cues help players understand game state

This is a subtle but important UX improvement that enhances the overall game feel.

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.

cursor state to showcase active unit better [bounty: 6 XTR]

1 participant