downforacross / downforacross.com

Web frontend for downforacross.com -- continuation of stevenhao/crosswordsio
https://downforacrosscom.downforacross1.now.sh
MIT License
222 stars 92 forks source link

Fix incorrect circle markups in some puzzles #187

Closed JohnHKoh closed 3 years ago

JohnHKoh commented 3 years ago

toCellIndex requires number of columns, but the number of rows was being passed in, leading to the circles being the wrong place. Passing in grid[0].length fixes this. Addresses #122 and #183.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/downforacross/downforacross.com/GUjoj84TDGisw7KVYwbYvk1sSWVm
✅ Preview: https://downforacrossc-git-fork-johnhkoh-johnhkoh-fix-markup-ind-e24b9e.vercel.app

frozenpandaman commented 3 years ago

cool, thanks!