Skip to content

Feature/removemine#73

Merged
kimgh06 merged 2 commits into
mainfrom
feature/removemine
Jan 15, 2026
Merged

Feature/removemine#73
kimgh06 merged 2 commits into
mainfrom
feature/removemine

Conversation

@kimgh06

@kimgh06 kimgh06 commented Jan 15, 2026

Copy link
Copy Markdown
Contributor
  • long click -> remove flag and mine

… in CanvasRenderComponent

- Introduced long-press event handling to allow users to flag tiles or dismantle mines via a press-and-hold action.
- Updated click event logic to accommodate the new DISMANTLE_MINE action.
- Enhanced pointer event handling to manage long-press duration and movement thresholds effectively.
- Added constants for long-press duration and movement threshold to improve configurability.
…rComponent

- Renamed viewStartPoint and viewEndPoint to viewStart and viewEnd for clarity.
- Simplified conditional checks and removed unnecessary console logging in useMessageHandler.
- Enhanced readability by consolidating logic in pathfinding and cursor movement functions.
@kimgh06 kimgh06 merged commit e54da56 into main Jan 15, 2026
1 check passed
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.

1 participant