Skip to content

Conversation

@ch-iv
Copy link
Contributor

@ch-iv ch-iv commented Aug 18, 2023

Fixes #13165

  • The fix makes it possible to move pieces on the analysis board in blind mode, similar to how it is implemented on a round board
  • The issue was coming from the mousetrap.ts stopping key event propagation. The fix adds a trap_bypass attribute to the board buttons. Events on elements with this attribute are exempt from being trapped by mousetrap.ts

- The fix makes it possible to move pieces on the analysis board in blind mode, similar to how it is implemented on a round board
- The issue was coming from the `AnalysisController` stopping key event propagation. The fix adds a `trap_bypass` attribute to the board buttons. Events on elements with this attribute are exempt from being trapped by `mousetrap.ts`
@ornicar ornicar merged commit 7b82a6d into lichess-org:master Aug 19, 2023
@ornicar
Copy link
Collaborator

ornicar commented Aug 19, 2023

Nice, thanks

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.

Blind mode: improve analysis board

2 participants