godot/platform
Christoph Schröder d70cb49eef Move mouse wheel handler from window to canvas element in HTML
Similar to https://github.com/godotengine/godot/pull/36557

At least in chrome, the following error is printed for each mouse wheel
rotation:
[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312

This PR moves the handler to the canvas and thereby fixes the error.

Tested on: Chrome and Firefox (MacOS), Firefox, Chrome(Android), Safari (IPad + MacOS)

(cherry picked from commit b1e8ac7b08)
2020-05-04 16:10:22 +02:00
..
android Fix Android export throwing Unicode errors. 2020-05-01 10:56:58 +02:00
haiku Image: Include S3TC compression via Squish in non-tools build 2020-01-13 15:58:49 +01:00
iphone Fix exporting corrupted Xcode pbxproj if project name has spaces 2020-04-14 18:03:10 +02:00
javascript Move mouse wheel handler from window to canvas element in HTML 2020-05-04 16:10:22 +02:00
osx Adding missing include guards to header files identified by LGTM. 2020-03-25 11:38:54 +01:00
server Revert "Change LINKFLAGS to FRAMEWORKS which is supported since Scons release 0.96.91" 2020-03-10 09:56:37 +01:00
uwp Adding missing include guards to header files identified by LGTM. 2020-03-25 11:38:54 +01:00
windows Windows: Appease capricious MSVC versions with moody headers 2020-04-27 10:19:08 +02:00
x11 Fix loss of precision in X11 device info. 2020-04-16 12:47:19 +02:00
register_platform_apis.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub Always use lists for LIBS in SCons 2019-08-12 22:31:55 +02:00