virtualx-engine/platform
Christoph Schröder b1e8ac7b08 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)
2020-04-28 08:42:41 +02:00
..
android Fix detection logic for the Android sdk path 2020-04-24 04:21:36 -07:00
haiku Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
iphone Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
javascript Move mouse wheel handler from window to canvas element in HTML 2020-04-28 08:42:41 +02:00
linuxbsd Update to bullet master (2.90) 2020-04-27 11:37:47 +02:00
osx [macOS] Re-add define for build with 10.14 SDK, remove unsupported 10.12 checks. 2020-04-26 21:17:10 +03:00
server Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
uwp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
windows Windows: Appease capricious MSVC versions with moody headers 2020-04-26 22:27:04 +02:00
register_platform_apis.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00