mirror of
https://github.com/godotengine/godot.git
synced 2024-12-16 08:03:42 +00:00
031aed3bb7
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
(cherry picked from commit
|
||
---|---|---|
.. | ||
api | ||
export | ||
audio_driver_javascript.cpp | ||
audio_driver_javascript.h | ||
detect.py | ||
dom_keys.inc | ||
engine.js | ||
http_client_javascript.cpp | ||
http_client.h.inc | ||
http_request.h | ||
http_request.js | ||
id_handler.js | ||
javascript_eval.cpp | ||
javascript_main.cpp | ||
logo.png | ||
os_javascript.cpp | ||
os_javascript.h | ||
platform_config.h | ||
pre.js | ||
run_icon.png | ||
SCsub |