Pittfall / crossword-old

0 stars 0 forks source link

remove hardcoded {bksp} #2

Open Pittfall opened 5 years ago

Pittfall commented 5 years ago

In the grid component the key press event checks if the delete button was pressed by checking against the string {bksp}. Need to assign this to a constant unless there is a better way. The better way would be to look into the simple-keyboard library to see if there's a more "elegant" way to communicate a delete.