diff options
| author | 2025-01-29 05:10:25 +0100 | |
|---|---|---|
| committer | 2025-01-29 05:10:25 +0100 | |
| commit | 9606df57b347865e4025350f40d8dbb623c533ad (patch) | |
| tree | c3bca72e3cb86794fa5824fe8fd091a8edb6ac52 /src | |
| parent | 9b959d3e8058a471ce59e42d97909e03845fad90 (diff) | |
| parent | a56c2f3d81775bd9ec57936338298c79d44ac863 (diff) | |
| download | iced-9606df57b347865e4025350f40d8dbb623c533ad.tar.gz iced-9606df57b347865e4025350f40d8dbb623c533ad.tar.bz2 iced-9606df57b347865e4025350f40d8dbb623c533ad.zip | |
Merge pull request #2764 from iced-rs/wasm/enable-animation
Enable `animation` module for Wasm target
Diffstat (limited to '')
| -rw-r--r-- | src/lib.rs | 13 | 
1 files changed, 4 insertions, 9 deletions
| @@ -498,25 +498,20 @@ pub mod window;  pub mod advanced;  pub use crate::core::alignment; +pub use crate::core::animation;  pub use crate::core::border;  pub use crate::core::color;  pub use crate::core::gradient;  pub use crate::core::padding;  pub use crate::core::theme;  pub use crate::core::{ -    Alignment, Background, Border, Color, ContentFit, Degrees, Gradient, -    Length, Padding, Pixels, Point, Radians, Rectangle, Rotation, Settings, -    Shadow, Size, Theme, Transformation, Vector, +    Alignment, Animation, Background, Border, Color, ContentFit, Degrees, +    Gradient, Length, Padding, Pixels, Point, Radians, Rectangle, Rotation, +    Settings, Shadow, Size, Theme, Transformation, Vector,  };  pub use crate::runtime::exit;  pub use iced_futures::Subscription; -#[cfg(not(target_arch = "wasm32"))] -pub use crate::core::animation; - -#[cfg(not(target_arch = "wasm32"))] -pub use crate::core::Animation; -  pub use alignment::Horizontal::{Left, Right};  pub use alignment::Vertical::{Bottom, Top};  pub use Alignment::Center; | 
