Replace iced_web with WebGL support in wgpu 🎉

This commit is contained in:
Héctor Ramón Jiménez 2022-01-28 16:47:50 +07:00
parent 1e3feee3a3
commit 825c7749ff
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
35 changed files with 68 additions and 3474 deletions

View file

@ -1,9 +1,5 @@
/// A generic widget.
///
/// This is an alias of an `iced_native` element with a default `Renderer`.
#[cfg(not(target_arch = "wasm32"))]
pub type Element<'a, Message> =
crate::runtime::Element<'a, Message, crate::renderer::Renderer>;
#[cfg(target_arch = "wasm32")]
pub use iced_web::Element;