mirror of
https://github.com/danbulant/cushy
synced 2026-07-05 11:10:34 +00:00
Standardizing durations
I didn't notice I had settled on 1 second for all three stages in the end lol.
This commit is contained in:
parent
8c3eaf4b6b
commit
b82208887d
1 changed files with 2 additions and 2 deletions
|
|
@ -40,10 +40,10 @@ fn book() {
|
||||||
}
|
}
|
||||||
|
|
||||||
guide_examples::book_example!(intro).animated(|animation| {
|
guide_examples::book_example!(intro).animated(|animation| {
|
||||||
animation.wait_for(Duration::from_millis(1_000)).unwrap();
|
animation.wait_for(Duration::from_secs(1)).unwrap();
|
||||||
animation
|
animation
|
||||||
.animate_text_input("Ferris 🦀", Duration::from_secs(1))
|
.animate_text_input("Ferris 🦀", Duration::from_secs(1))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
animation.wait_for(Duration::from_millis(1_000)).unwrap();
|
animation.wait_for(Duration::from_secs(1)).unwrap();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue