Unfortunately there does not seem to be a way to configure this - perhaps the best way is to just directly modify the library_sdl.js code to remove the event.preventDefault(); for your case, or is that a direct bug that should be fixed somehow?
2015-01-09 8:51 GMT+02:00 Sergey Solozhentsev <[email protected]> : > Hello everyone > > I have a game what is not uses mousewheel event and it uses sdl. However > in library_sdl.js handler of mousewheel event call event.preventDefault(); > And browser does not hanlde default behaviour of this event e.g. scroll > page with the game. > > How can I switch off default behaviour of event handler? > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
