diff --git a/ukui-styles/qt5-config-style-ukui/animations/config-checkbox-animator.cpp b/ukui-styles/qt5-config-style-ukui/animations/config-checkbox-animator.cpp index e9c6d9a..b827ad3 100644 --- a/ukui-styles/qt5-config-style-ukui/animations/config-checkbox-animator.cpp +++ b/ukui-styles/qt5-config-style-ukui/animations/config-checkbox-animator.cpp @@ -67,7 +67,7 @@ bool ConfigCheckBoxAnimator::bindWidget(QWidget *w) m_onScale->setStartValue(0.0); m_onScale->setEndValue(1.0); m_onScale->setDuration(260); - m_onScale->setEasingCurve(QEasingCurve::InOutSine); + m_onScale->setEasingCurve(QEasingCurve::OutCubic); addAnimation(m_onScale); connect(m_onScale, &QVariantAnimation::valueChanged, w, [=](const QVariant &value) { w->update(); @@ -80,7 +80,7 @@ bool ConfigCheckBoxAnimator::bindWidget(QWidget *w) m_onOpacity->setStartValue(0.0); m_onOpacity->setEndValue(1.0); m_onOpacity->setDuration(120); - m_onOpacity->setEasingCurve(QEasingCurve::InOutSine); + m_onOpacity->setEasingCurve(QEasingCurve::OutCubic); addAnimation(m_onOpacity); connect(m_onOpacity, &QVariantAnimation::valueChanged, w, [=](const QVariant &value) { w->update(); @@ -93,7 +93,7 @@ bool ConfigCheckBoxAnimator::bindWidget(QWidget *w) m_onBase->setStartValue(0.0); m_onBase->setEndValue(1.0); m_onBase->setDuration(180); - m_onBase->setEasingCurve(QEasingCurve::InOutSine); + m_onBase->setEasingCurve(QEasingCurve::OutCubic); addAnimation(m_onBase); connect(m_onBase, &QVariantAnimation::valueChanged, w, [=](const QVariant &value) { w->update();