diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-01-17 21:25:14 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-01-17 21:42:36 +0100 |
commit | 4a50f5ff65477ccd8955ab054db8c1de573f6c90 (patch) | |
tree | 4e02be55642cacde7d0d9b30342065c56ecbb528 /platform/javascript/javascript_eval.cpp | |
parent | a6f3e1345c4496d4513afbfee35b245f9d53e7d9 (diff) |
HTML5 callbacks rework.
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.
Diffstat (limited to 'platform/javascript/javascript_eval.cpp')
0 files changed, 0 insertions, 0 deletions