alexis-martel / Open-Crossword

An open-source crossword puzzle platform, focused on design and ease of use.
https://graphe.me/Open-Crossword/
GNU General Public License v3.0
8 stars 0 forks source link

Keyboard navigation #67

Closed alexis-martel closed 1 year ago

alexis-martel commented 1 year ago

up down: Move to the square directly at the top or bottom and switch selectionDirection to "down" left right: Move to the square directly at the left or right and switch selectionDirection to "across" enter return: Select next clue space: Skip over square (don't overwrite existing value)

alexis-martel commented 1 year ago

up: selectionDirection = "down"; puzzle.selectPreviousSquare; down: selectionDirection = "down"; puzzle.selectNextSquare; left: selectionDirection = "across"; puzzle.selectPreviousSquare; right: selectionDirection = "across"; puzzle.selectNextSquare;