Unify web and ggez tour examples 🎉
This commit is contained in:
parent
dd093c79d7
commit
f9de39ddaa
40 changed files with 166 additions and 669 deletions
5
examples/tour/src/widget.rs
Normal file
5
examples/tour/src/widget.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#[cfg(target_arch = "wasm32")]
|
||||
pub use iced_web::*;
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub use crate::iced_ggez::*;
|
||||
Loading…
Add table
Add a link
Reference in a new issue