File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -201,20 +201,20 @@ fn anim_background() -> style_container::Chain {
201201 style_container:: Chain :: new ( CONTAINER . clone ( ) )
202202 . link ( StyleContainer :: new ( Duration :: ZERO ) . style ( theme:: Container :: Red ) )
203203 . link (
204- StyleContainer :: new ( Duration :: from_secs ( 3 ) )
204+ StyleContainer :: new ( Duration :: from_secs ( 1 ) )
205205 // Notice how we can just pass the enum value here, where in the `anim_to_primary/destructive`
206206 // we have to use the fucntion `button_u8`? Because we use a implemented a custom iced theme,
207207 // we can just impl Into<u8> on the enum, and it works here!
208208 . style ( theme:: Container :: Green )
209209 . ease ( Sinusoidal :: In ) ,
210210 )
211211 . link (
212- StyleContainer :: new ( Duration :: from_secs ( 6 ) )
212+ StyleContainer :: new ( Duration :: from_secs ( 2 ) )
213213 . style ( theme:: Container :: Blue )
214214 . ease ( Sinusoidal :: In ) ,
215215 )
216216 . link (
217- StyleContainer :: new ( Duration :: from_secs ( 9 ) )
217+ StyleContainer :: new ( Duration :: from_secs ( 3 ) )
218218 . style ( theme:: Container :: Red )
219219 . ease ( Sinusoidal :: In ) ,
220220 )
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ pub enum Pause {
150150
151151impl Pause {
152152 pub fn is_playing ( & self ) -> bool {
153- !matches ! ( self , Pause :: Paused ( _) )
153+ !matches ! ( self , Pause :: Paused ( _) )
154154 }
155155}
156156
You can’t perform that action at this time.
0 commit comments