1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -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:
Emil Ernerfeldt
2026-05-19 16:20:05 +02:00
committed by GitHub
parent f9f589f460
commit f91b3ac10b

View File

@@ -1401,7 +1401,7 @@ impl Default for Style {
spacing: Spacing::default(),
interaction: Interaction::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)]
debug: Default::default(),
explanation_tooltips: false,