release animations when user is removing tasks

--for example when the user is hovering a zoomed task
and chooses to remove Latte Tasks applet from its
context menu
work/spdx
Michail Vourlakos 4 years ago
parent 082eef0b3a
commit eb34cefdda

@ -188,6 +188,17 @@ Item{
}
}
Connections {
target: taskItem
onVisibleChanged: {
if (!taskItem.visible) {
//! is mostly used when the user destroys tasks applet from the context menu and both
//! axis animations should be released in that case
wrapper.sendEndOfNeedBothAxisAnimation();
}
}
}
Component.onCompleted: {
if (!LatteCore.WindowSystem.compositingActive) {
opacity = 1;

Loading…
Cancel
Save