@@ -498,20 +498,25 @@ pub mod window;
498
498
pub mod advanced;
499
499
500
500
pub use crate :: core:: alignment;
501
- pub use crate :: core:: animation;
502
501
pub use crate :: core:: border;
503
502
pub use crate :: core:: color;
504
503
pub use crate :: core:: gradient;
505
504
pub use crate :: core:: padding;
506
505
pub use crate :: core:: theme;
507
506
pub use crate :: core:: {
508
- Alignment , Animation , Background , Border , Color , ContentFit , Degrees ,
509
- Gradient , Length , Padding , Pixels , Point , Radians , Rectangle , Rotation ,
510
- Settings , Shadow , Size , Theme , Transformation , Vector ,
507
+ Alignment , Background , Border , Color , ContentFit , Degrees , Gradient ,
508
+ Length , Padding , Pixels , Point , Radians , Rectangle , Rotation , Settings ,
509
+ Shadow , Size , Theme , Transformation , Vector ,
511
510
} ;
512
511
pub use crate :: runtime:: exit;
513
512
pub use iced_futures:: Subscription ;
514
513
514
+ #[ cfg( not( target_arch = "wasm32" ) ) ]
515
+ pub use crate :: core:: animation;
516
+
517
+ #[ cfg( not( target_arch = "wasm32" ) ) ]
518
+ pub use crate :: core:: Animation ;
519
+
515
520
pub use alignment:: Horizontal :: { Left , Right } ;
516
521
pub use alignment:: Vertical :: { Bottom , Top } ;
517
522
pub use Alignment :: Center ;
0 commit comments