try using the animated hiding in edge docked cases.. let's see how this goes :)
svn path=/trunk/KDE/kdelibs/; revision=954612
This commit is contained in:
parent
b479428114
commit
2dab71aaa7
@ -432,7 +432,11 @@ void PopupApplet::showPopup(uint popupDuration)
|
||||
void PopupApplet::hidePopup()
|
||||
{
|
||||
if (d->dialog) {
|
||||
d->dialog->hide();
|
||||
if (location() != Floating) {
|
||||
d->dialog->animatedHide(locationToInverseDirection(location()));
|
||||
} else {
|
||||
d->dialog->hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -511,7 +515,11 @@ void PopupAppletPrivate::internalTogglePopup()
|
||||
}
|
||||
|
||||
if (dialog->isVisible()) {
|
||||
dialog->hide();
|
||||
if (q->location() != Floating) {
|
||||
dialog->animatedHide(locationToInverseDirection(q->location()));
|
||||
} else {
|
||||
dialog->hide();
|
||||
}
|
||||
} else {
|
||||
ToolTipManager::self()->hide(q);
|
||||
updateDialogPosition();
|
||||
|
Loading…
Reference in New Issue
Block a user