From 80a9df9d73bc6be96e4ba9f315f57e63ca7fb58d Mon Sep 17 00:00:00 2001 From: John Colvin Date: Thu, 7 Jul 2022 23:53:42 -0400 Subject: [PATCH] ui: Speed up expand/collapse animation in settings dialogs --- src/client/spark/view/Utility/ExpandCollapseAnimator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/spark/view/Utility/ExpandCollapseAnimator.cs b/src/client/spark/view/Utility/ExpandCollapseAnimator.cs index d8d18919c..1037cd588 100644 --- a/src/client/spark/view/Utility/ExpandCollapseAnimator.cs +++ b/src/client/spark/view/Utility/ExpandCollapseAnimator.cs @@ -86,11 +86,11 @@ namespace mbts.ui { return anim; TimeSpan expand_dur() => - _compute_dur(expanded_height, (120, .25), (140, .19), (160, .15), (360, .27)) + _compute_dur(expanded_height, (120, .20), (140, .15), (160, .07), (360, .08)) .at_least_total_secs(MIN_DUR_SECS); TimeSpan collapse_dur() => - _compute_dur(expanded_height, (120, .20), (140, .14), (160, .10), (360, 0.10)) + _compute_dur(expanded_height, (120, .14), (140, .08), (160, .06), (360, 0.07)) .at_least_total_secs(MIN_DUR_SECS); }