Skip to content

Commit bc65c06

Browse files
deepin-ci-robot18202781743
authored andcommitted
sync: from linuxdeepin/dtkwidget
Synchronize source files from linuxdeepin/dtkwidget. Source-pull-request: linuxdeepin/dtkwidget#636
1 parent 6bfb9c4 commit bc65c06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/widgets/ddrawer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ void DDrawerPrivate::init()
6868
layout_contentLoader->addStretch();
6969

7070
m_animation = new QPropertyAnimation(m_contentLoader, "height", qq);
71-
m_animation->setDuration(200);
72-
m_animation->setEasingCurve(QEasingCurve::InSine);
71+
m_animation->setDuration(400);
72+
m_animation->setEasingCurve(QEasingCurve::InQuad);
7373
qq->connect(m_animation, &QPropertyAnimation::valueChanged, qq, [qq] {
7474
qq->setFixedHeight(qq->sizeHint().height());
7575
});

0 commit comments

Comments
 (0)