b1e8ac7b08
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) |
||
---|---|---|
.. | ||
android | ||
haiku | ||
iphone | ||
javascript | ||
linuxbsd | ||
osx | ||
server | ||
uwp | ||
windows | ||
register_platform_apis.h | ||
SCsub |