mirror of https://github.com/godotengine/godot
Fixes compatibility with emscripten 1.39.5+ . Most input callbacks now require a target and no longer support NULL defaults. This commit changes all required null targets to the expected default in the binding phase. Since for canvas-related callbacks there is no default, the "#canvas" selector is used instead. Additionally, since canvasX and canvasY event properties are no longer supported, event positions are computed from "clientX" and "clientY" and the "#canvas" bounding client rect. |
||
|---|---|---|
| .. | ||
| api | ||
| export | ||
| SCsub | ||
| audio_driver_javascript.cpp | ||
| audio_driver_javascript.h | ||
| detect.py | ||
| dom_keys.inc | ||
| engine.js | ||
| http_client.h.inc | ||
| http_client_javascript.cpp | ||
| 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 | ||