axmolengine / axmol

Axmol Engine – A Multi-platform Engine for Desktop, XBOX (UWP) and Mobile games. (A fork of Cocos2d-x-4.0)
https://axmol.dev
MIT License
922 stars 205 forks source link

WASM: Element.setCapture() is deprecated. Use Element.setPointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture #2212

Closed aismann closed 1 month ago

aismann commented 1 month ago

Element.setCapture() should be replace. image

halx99 commented 1 month ago

There no any invoke on axmol engine, so we can't control it

aismann commented 1 month ago

I have replaced it on the "*.js" file of my project and its works.

halx99 commented 1 month ago

which file?

aismann commented 1 month ago

which file?

created < project >.js e.g.: cpp-tests.js

halx99 commented 1 month ago

while, the cpp-tests.js is build by emsdk, so we can't control that

aismann commented 1 month ago

is build by emsdk

I know. But I can edit it after build. Maybe thats an usefull help for somebody

halx99 commented 1 month ago

should be an emsdk issue