mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-12-24 13:08:06 +08:00
If a key down and a key up happened in one tick, Ebitengine ignored these events and users failed to notice the key press. This was problematic in real world use caess, e.g. click by a tap on macOS browsers. This change fixes this issue by recording the tick for both a press and a release, and determine whether the key/button is pressed or not more precisely. Updates #2898 Closes #3137 Closes #3249 Updates #3317