actually show when not animating; faster show when animating

svn path=/trunk/KDE/kdelibs/; revision=954620
This commit is contained in:
Aaron J. Seigo 2009-04-16 04:33:55 +00:00
parent 406a0fac5f
commit 81cc419de6
2 changed files with 4 additions and 2 deletions

View File

@ -559,8 +559,10 @@ void Dialog::animatedShow(Plasma::Direction direction)
if (KWindowSystem::compositingActive() && d->view) {
//TODO: implement for the QWidget scenario too
d->hideDirection = direction;
d->hideAnimId = Animator::self()->customAnimation(20, 200, Animator::EaseInCurve,
d->hideAnimId = Animator::self()->customAnimation(10, 100, Animator::EaseOutCurve,
this, "progressShow");
} else {
show();
}
}

View File

@ -527,7 +527,7 @@ void PopupAppletPrivate::internalTogglePopup()
if (q->location() != Floating) {
dialog->animatedShow(locationToDirection(q->location()));
} else {
dialog->hide();
dialog->show();
}
}