mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-25 19:21:41 +03:00
remove deprecated apis for ParabolicManager
This commit is contained in:
parent
79bcf40e5f
commit
9e0fa5d6cd
@ -329,15 +329,17 @@ MouseArea{
|
||||
return;
|
||||
}
|
||||
|
||||
if ((windowsCount >= 2) && (windowsCount > previousCount)
|
||||
&& !(taskItem.containsMouse || parabolicManager.neighbourIsHovered(itemIndex)) ){
|
||||
if(root.dragSource == null)
|
||||
taskItem.groupWindowAdded();
|
||||
}
|
||||
else if ((windowsCount >=1) &&(windowsCount < previousCount)){
|
||||
if ((windowsCount >= 2)
|
||||
&& (windowsCount > previousCount)
|
||||
&& !(taskItem.containsMouse)
|
||||
&& !root.dragSource ){
|
||||
taskItem.groupWindowAdded();
|
||||
} else if ((windowsCount >= 1)
|
||||
&& (windowsCount < previousCount)
|
||||
&& !root.dragSource
|
||||
&& !taskItem.delayingRemove){
|
||||
//sometimes this is triggered in dragging with no reason
|
||||
if(root.dragSource == null && !taskItem.delayingRemove)
|
||||
taskItem.groupWindowRemoved();
|
||||
taskItem.groupWindowRemoved();
|
||||
}
|
||||
|
||||
if (windowsCount>=1) {
|
||||
|
@ -62,17 +62,17 @@ SequentialAnimation{
|
||||
}
|
||||
|
||||
onStopped: {
|
||||
if (!taskItem.containsMouse && !parabolicManager.neighbourIsHovered(itemIndex)) {
|
||||
/*if (!taskItem.containsMouse && !parabolicManager.neighbourIsHovered(itemIndex)) {
|
||||
taskItem.inMimicParabolicAnimation = false;
|
||||
} else {
|
||||
taskItem.inMimicParabolicAnimation = true;
|
||||
}
|
||||
}*/
|
||||
|
||||
newWindowAnimation.stop();
|
||||
|
||||
if (!taskItem.containsMouse && !parabolicManager.neighbourIsHovered(itemIndex)) {
|
||||
taskItem.inBlockingAnimation = false;
|
||||
}
|
||||
//if (!taskItem.containsMouse && !parabolicManager.neighbourIsHovered(itemIndex)) {
|
||||
taskItem.inBlockingAnimation = false;
|
||||
//}
|
||||
|
||||
root.mimicEnterForParabolic();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user