Commit graph

10 commits

Author SHA1 Message Date
Olivier Goffart
013eee351c Wasm demos: add touch-action: none to all canvas
So that the Slider, Flickabke and such works on android/chrome
2021-08-20 09:33:49 +02:00
Tobias Hunger
aea4ecca99 Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
Olivier Goffart
40afcd4070 Fix the spinner for the slide puzzle firefox
The layout of the html here is a bit different for the slize puzzle
than for other demo because it is using a display: grid.
As a result, placing the spinner in the grid would cause the canvas
to be resized when the spinner goes away, with firefox. Since we don't
get resize event when the canvas gets resized withtout the whole page
being resized, the scaling and coordinate were off.

So put the spinner outside of the grid
2021-08-13 10:19:42 +02:00
Olivier Goffart
429e5bdb07 Add link to SixtyFPS homepage from the wasm demo pages 2021-08-12 14:19:29 +02:00
Simon Hausmann
bdf7912a4d Apply the loading spinner from the plotter example to the slide puzzle 2021-08-12 10:15:20 +02:00
Simon Hausmann
7773678e22 Simplify wasm "startup" code
Apply the simplification of 2398d00e6f to all
index.html files we use. An async function
can be called directly.
2021-04-14 09:36:33 +02:00
Simon Hausmann
e614fb3bb1 Remove manual plaster font loading for the slide puzzle wasm version
Since commit 727c9a19f7 the plaster font is included in the
wasm binary.
2021-04-14 09:35:19 +02:00
Olivier Goffart
261b2cb533 Make the link to the source point to the directory instead of the .60 2020-12-11 09:20:01 +01:00
Olivier Goffart
29771f9591 Slider demo: make sure that it is always fullscreen 2020-12-08 16:13:14 +01:00
Olivier Goffart
3f6f16c633 Also simplify wasm build for the slide puzzle 2020-12-08 12:39:47 +01:00
Renamed from examples/slide_puzzle/wasm/static/index.html (Browse further)