1j01 / 98

💿 Web-based Windows 98 desktop recreation █████▓█▓▓▒▓▒▒░▒░░░🗕︎🗗︎🗙︎
https://98.js.org
1.15k stars 183 forks source link

Added removal of card throw particle effect when clicking "Deal" #82

Open maurer2 opened 1 year ago

maurer2 commented 1 year ago

Hello, I noticed that, the game doesn't reset, when clicking "Deal", while the card throw particle effect is being shown. The game however resets, when clicking on the canvas. I added a one line workaround, that trickers a click event on the canvas after clicking "Deal".

Before

https://github.com/1j01/98/assets/6861911/ee0608c7-b49c-4a05-aede-2d3bd6a6a10b

After

https://github.com/1j01/98/assets/6861911/d33af988-a6df-4d92-8f6f-4a671b6a818f

Cheers