mrichards42 / xword

Cross-platform crossword solving
https://mrichards42.github.io/xword/
GNU General Public License v3.0
42 stars 13 forks source link

Prevent focusing on black squares within a word. #147

Closed jpd236 closed 3 years ago

jpd236 commented 3 years ago

We can only focus on squares which are white (unless the puzzle is diagramless). So when a user presses an arrow key, even if the next square in that direction is part of the current word, we should not attempt to focus on it unless one of those conditions match.

Fixes #146