Kirill Chibisov
7b0c7b6cb2
chore(rustfmt): use nightly ( #2325 )
...
Stable rustfmt lacks a lot of features resulting in worse formatted
code, thus use nightly formatter.
2024-04-26 17:11:44 +02:00
John Nunley
7b0ef160fc
chore: silence clippy
...
It appears that clippy's dead code detection has gotten better. This
commit fixes winit's code to match.
Signed-off-by: John Nunley <dev@notgull.net>
2024-03-27 12:20:21 +04:00
daxpedda
e648169861
Move ControlFlow to EventLoopWindowTarget
...
Fixes #3042 .
2023-09-07 10:25:04 +04:00
daxpedda
48abf52aac
Use setTimeout() trick instead of Window.requestIdleCallback() ( #3044 )
2023-08-25 21:40:21 +02:00
dAxpeDDa
7ce86c3d2a
Use Window.requestIdleCallback()
2023-06-14 00:03:23 +02:00
dAxpeDDa
5bbe87960e
Replace instant with web-time
2023-06-03 16:05:44 +02:00
Kirill Chibisov
10419ff441
Run clippy on CI
...
Fixes #1402 .
2022-06-10 13:43:33 +03:00
Jurgis
1f24a09570
Implement requestAnimationFrame for web ( #1519 )
...
* Use requestAnimationFrame for polling wasm
* Implement `requestAnimationFrame` for stdweb
Co-authored-by: Ryan G <ryanisaacg@users.noreply.github.com>
2020-04-11 15:49:07 -04:00
Héctor Ramón Jiménez
b79089ea57
Implement web_sys::Canvas event listeners
2019-06-25 18:07:47 +02:00
Héctor Ramón Jiménez
c5703eb00a
Draft web platform structure
2019-06-25 03:15:34 +02:00