mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Slow down animation time from 0.1s to 0.2s (#8176)
We now have easings, and we have nice animations of panels. I think 100ms feels a bit rushed now. 200ms feels nicer.
This commit is contained in:
@@ -1401,7 +1401,7 @@ impl Default for Style {
|
|||||||
spacing: Spacing::default(),
|
spacing: Spacing::default(),
|
||||||
interaction: Interaction::default(),
|
interaction: Interaction::default(),
|
||||||
visuals: Visuals::default(),
|
visuals: Visuals::default(),
|
||||||
animation_time: 6.0 / 60.0, // If we make this too slow, it will be too obvious that our panel animations look like shit :(
|
animation_time: 0.2,
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
debug: Default::default(),
|
debug: Default::default(),
|
||||||
explanation_tooltips: false,
|
explanation_tooltips: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user