diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-09-12 19:07:44 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-09-12 19:07:44 +0200 |
commit | 4c6845c09553a777d1973b095787ba41f2a690c8 (patch) | |
tree | debd6cd95ee2744548a4f256f8b1004ed53aa058 /scene/2d/canvas_group.h | |
parent | 490511fcfe2016e3765632934f0d6111856a8039 (diff) |
[HTML5] Fix input not working when buffered.
After input buffering was reworked, input accumulation is now handled
outside of OS, and the JavaScript plaform never implemented that.
Additionally, the JavaScript platform is quite obnoxious about calling
specific APIs outside specific user triggered events.
This commit adds event flushing during the main iteration, and forces it
during keydown/keyup/mousedown/mouseup/touchstart/touchend/touchcanel
events (effectively only accumulating only "move" events).
Diffstat (limited to 'scene/2d/canvas_group.h')
0 files changed, 0 insertions, 0 deletions