Closed tylxr59 closed 5 months ago
There is a bug where the location of the cat and hearts can desync, I managed to consistently do this by using the back arrow to return to the page from another page, causing the cat to quickly move targets. I apologise but that is the most accurate I could get the description of it.
@dualfighter1 I made some changes on my site, can you see if that still happens now? I wasn't able to reproduce the bug myself
I can still reproducce the issue, my exact steps are:
Super strange. I tried a couple different ways but couldn't reproduce the bug. I'm on Firefox Dev Edition 126.0b9. I wonder if it's something with the getBoundingClientRect.
If you'd entertain me, could you reproduce it again and provide the output of your Console log in Dev Tools? Should look something like this
I figured it out, its a bug with scrolling, the hearts dont move while scrolling yet the cat does.
Ahhh, that makes more sense. I'll try to fix that. tyvm for the feedback
No problem.
I'm probably not gonna be merging any new features since its meant to be a simple base for people to build off of, but I'm happy to link your fork in the readme
For sure! I totally understand. Thatd be awesome if you'd want to link back to my repo :)
This version can be viewed on my site - tylxr.com