From f91b3ac10beaa4c2974b9fdc5afd02c27bdbd8bf Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 19 May 2026 16:20:05 +0200 Subject: [PATCH] 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. --- crates/egui/src/style.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/style.rs b/crates/egui/src/style.rs index 4218bee46..111433470 100644 --- a/crates/egui/src/style.rs +++ b/crates/egui/src/style.rs @@ -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,