Enable animation module for Wasm target

This commit is contained in:
Héctor Ramón Jiménez 2025-01-29 04:55:04 +01:00
parent 9b959d3e80
commit a56c2f3d81
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 5 additions and 12 deletions

View file

@ -10,7 +10,6 @@
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;
@ -51,7 +50,6 @@ 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;