ui: Speed up expand/collapse animation in settings dialogs
This commit is contained in:
1 parent
7040af5545
commit
80a9df9d73
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user