Make animation module only available in native
This commit is contained in:
parent
2753103942
commit
8fd87f94eb
2 changed files with 11 additions and 4 deletions
|
|
@ -10,6 +10,7 @@
|
|||
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
|
||||
)]
|
||||
pub mod alignment;
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub mod animation;
|
||||
pub mod border;
|
||||
pub mod clipboard;
|
||||
|
|
@ -50,6 +51,7 @@ mod vector;
|
|||
|
||||
pub use alignment::Alignment;
|
||||
pub use angle::{Degrees, Radians};
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub use animation::Animation;
|
||||
pub use background::Background;
|
||||
pub use border::Border;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue