summaryrefslogtreecommitdiff
path: root/servers/physics_3d/joints/pin_joint_3d_sw.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-02-02 20:07:20 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-02-02 20:08:51 +0100
commit97288f25f49120ac0f010b9b175685973312f528 (patch)
tree47ed4ae5474261aea241e8e9cae8dc384870617b /servers/physics_3d/joints/pin_joint_3d_sw.h
parent9e0bdeb5de323f5ec7c21511478a2b2524e70fc3 (diff)
[HTML5] Fix mouse_mode and fullscreen detection.
The canvas_id is `#`-prefixed to work with emscripten as a CSS selector. When comparing to an event target ID (e.g. when checking if the canvas is fullscreen, or is locking the mouse) we need to skip the first char (the hash).
Diffstat (limited to 'servers/physics_3d/joints/pin_joint_3d_sw.h')
0 files changed, 0 insertions, 0 deletions