mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-29 05:47:23 +03:00
release BothAxis animation on applet destruction
--this was noticed when the user was removing an applet through the context menu and at the same time this applet was zoomed. With this patch the parabolic effect behavior returns to normal
This commit is contained in:
parent
7fe42921a8
commit
30c5a00835
@ -444,12 +444,18 @@ Item {
|
||||
}
|
||||
|
||||
Component.onDestruction: {
|
||||
if (animationWasSent) {
|
||||
root.slotAnimationsNeedBothAxis(-1);
|
||||
animationWasSent = false;
|
||||
}
|
||||
|
||||
if (isSeparator){
|
||||
parabolicManager.setSeparator(previousIndex, -1);
|
||||
}
|
||||
|
||||
if (isHidden)
|
||||
if (isHidden) {
|
||||
parabolicManager.setHidden(previousIndex, -1);
|
||||
}
|
||||
|
||||
if(root.latteAppletPos>=0 && root.latteAppletPos === index){
|
||||
root.latteApplet = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user