Mercurial > hg > orthanc-stone
diff Platforms/Wasm/wasm-application-runner.ts @ 545:e1ba16436d59 dev
set events passive again
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Fri, 29 Mar 2019 15:21:33 +0100 |
parents | f65748b33bd1 |
children | 70992b38aa8a 636eb0e4c9dd |
line wrap: on
line diff
--- a/Platforms/Wasm/wasm-application-runner.ts Mon Mar 25 15:23:45 2019 +0100 +++ b/Platforms/Wasm/wasm-application-runner.ts Fri Mar 29 15:21:33 2019 +0100 @@ -107,7 +107,7 @@ // Prevent scrolling document.body.addEventListener('touchmove', function (event) { event.preventDefault(); - }, { passive: false}); + }, { passive: false}); // must not be passive if calling event.preventDefault, ie to cancel scroll or zoom of the whole interface _InitializeWasmApplication(orthancBaseUrl); });