Wasm demos: add touch-action: none to all canvas

So that the Slider, Flickabke and such works on android/chrome
This commit is contained in:
Olivier Goffart 2021-08-20 09:33:49 +02:00
parent da1879f049
commit 013eee351c
8 changed files with 11 additions and 0 deletions

View file

@ -14,6 +14,7 @@
<style>
canvas:focus {
outline: none;
touch-action: none;
}
/* beautify ignore:start */

View file

@ -19,6 +19,8 @@
animation: spinner 1s ease infinite;
}
@keyframes spinner { to { transform: rotate(360deg); } }
canvas { touch-action: none; }
/* beautify ignore:end */
</style>
</head>

View file

@ -19,6 +19,8 @@
animation: spinner 1s ease infinite;
}
@keyframes spinner { to { transform: rotate(360deg); } }
canvas { touch-action: none; }
/* beautify ignore:end */
</style>
</head>

View file

@ -19,6 +19,8 @@
animation: spinner 1s ease infinite;
}
@keyframes spinner { to { transform: rotate(360deg); } }
canvas { touch-action: none; }
/* beautify ignore:end */
</style>
</head>

View file

@ -17,6 +17,7 @@
canvas:focus {
outline: none;
touch-action: none;
}
@media screen and (max-width: 992px) and (orientation: landscape) {

View file

@ -17,6 +17,7 @@
canvas:focus {
outline: none;
touch-action: none;
}
@media screen and (max-width: 992px) and (orientation: landscape) {

View file

@ -8,6 +8,7 @@
<style>
canvas:focus {
outline: none;
touch-action: none;
}
body {

View file

@ -14,6 +14,7 @@
<style>
canvas:focus {
outline: none;
touch-action: none;
}
/* beautify ignore:start */