diff options
author | Christoph Schroeder <call-schroedi@web.de> | 2020-02-26 12:03:49 +0100 |
---|---|---|
committer | Christoph Schroeder <call-schroedi@web.de> | 2020-02-26 12:04:18 +0100 |
commit | 5134317afc8cbb1f51b29e9862c19d4f54d3a1d9 (patch) | |
tree | c36a8d6d78d8d3093a3f7ebbe0de5126aaadee28 /doc/classes/BaseButton.xml | |
parent | 1e57b558f215dd4920768e9567b6f55825877c89 (diff) |
Fixes touch events for HTML
Without this patch, the following exception is thrown when the touch
screen is used: TypeError: e.getBoundingClientRect is not a function.
No touch events arrive in the engine.
From my testing, this PR fixes the issue and behaves as expected.
Tested with godot-demo-projects/misc/multitouch_view/, emscripten 1.39.8
and Firefox mobile emulator as well as FF on Android
Diffstat (limited to 'doc/classes/BaseButton.xml')
0 files changed, 0 insertions, 0 deletions