mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-08 13:18:09 +03:00
consider view::hidden state after slide-out
This commit is contained in:
parent
bea8247b84
commit
a6b8fbcaff
@ -53,6 +53,7 @@ VisibilityManager::VisibilityManager(PlasmaQuick::ContainmentView *view)
|
||||
m_wm = m_corona->wm();
|
||||
|
||||
connect(this, &VisibilityManager::slideInFinished, this, &VisibilityManager::updateHiddenState);
|
||||
connect(this, &VisibilityManager::slideOutFinished, this, &VisibilityManager::updateHiddenState);
|
||||
|
||||
if (m_latteView) {
|
||||
connect(m_latteView, &Latte::View::eventTriggered, this, &VisibilityManager::viewEventManager);
|
||||
|
@ -109,6 +109,7 @@ signals:
|
||||
void mustBeShown();
|
||||
void mustBeHide();
|
||||
|
||||
void slideOutFinished();
|
||||
void slideInFinished();
|
||||
|
||||
void modeChanged();
|
||||
|
@ -669,11 +669,14 @@ Item{
|
||||
manager.sendSlidingOutAnimationEnded();
|
||||
}
|
||||
}
|
||||
|
||||
latteView.visibility.slideOutFinished();
|
||||
}
|
||||
|
||||
function init() {
|
||||
if (!latteView.visibility.blockHiding)
|
||||
if (!latteView.visibility.blockHiding) {
|
||||
start();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user