iced/winit
Richard d46f6f92ce
Fix wasm32 deployments not displaying anything (#2574)
* reuse `canvas` element generated by dummy window

* fix formatting

* set `control_flow` to `Poll` in `resumed`

this is mostly a fix for Chrome

* Avoid blowing up memory when booting up on Wasm

---------

Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
2024-09-13 22:15:15 +00:00
..
src Fix wasm32 deployments not displaying anything (#2574) 2024-09-13 22:15:15 +00:00
Cargo.toml Fix wasm32 deployments not displaying anything (#2574) 2024-09-13 22:15:15 +00:00
README.md Update outdated READMEs of subcrates 2024-05-27 13:47:57 +02:00

iced_winit

Documentation Crates.io License Discord Server

iced_winit offers some convenient abstractions on top of iced_native to quickstart development when using winit.

It exposes a renderer-agnostic Application trait that can be implemented and then run with a simple call. The use of this trait is optional. A conversion module is provided for users that decide to implement a custom event loop.

The native target