excaliburjs / Excalibur

🎮 Your friendly TypeScript 2D game engine for the web 🗡️
https://excaliburjs.com
BSD 2-Clause "Simplified" License
1.82k stars 189 forks source link

fix: [#3126] Fix keyboard events in scene scope #3127

Closed eonarheim closed 4 months ago

eonarheim commented 4 months ago

===:clipboard: PR Checklist :clipboard:===

==================

Closes #3126

Fixes an issue where key events (and other event types) get stuck in the previous scene InputHost and cause issues when switching back. This state will never be useful and has lost relevancy after the scene has switched.

Changes:

cloudflare-workers-and-pages[bot] commented 4 months ago

Deploying excaliburjs with  Cloudflare Pages  Cloudflare Pages

Latest commit: e5f9dd4
Status: ✅  Deploy successful!
Preview URL: https://70aeb026.excaliburjs.pages.dev
Branch Preview URL: https://fix-scene-input-events-on-sc.excaliburjs.pages.dev

View logs