From 07f223485d5e33a8b20b64e05dc06dfcbb6866ba Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 15 Oct 2019 20:51:58 +0800 Subject: [PATCH] feat(Switch): optimize animation timing function (#2159) --- packages/switch/index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/switch/index.less b/packages/switch/index.less index a80cde98..e0890fbc 100644 --- a/packages/switch/index.less +++ b/packages/switch/index.less @@ -22,7 +22,7 @@ .theme(height, '@switch-node-size'); .theme(background-color, '@switch-node-background-color'); .theme(box-shadow, '@switch-node-box-shadow'); - .theme(transition, 'transform @switch-transition-duration'); + .theme(transition, 'transform @switch-transition-duration cubic-bezier(.3, 1.05, .4, 1.05)'); } &__loading {