From 46c646796e16011621994a735ba7e780796b112e Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 15 Oct 2019 20:35:08 +0800 Subject: [PATCH] feat(Switch): optimize animation timing function (#4733) --- src/switch/index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch/index.less b/src/switch/index.less index f7b1aa142..7a0c523e1 100644 --- a/src/switch/index.less +++ b/src/switch/index.less @@ -21,7 +21,7 @@ background-color: @switch-node-background-color; border-radius: 100%; box-shadow: @switch-node-box-shadow; - transition: transform @switch-transition-duration; + transition: transform @switch-transition-duration cubic-bezier(.3, 1.05, .4, 1.05); } &__loading {