mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-25 19:21:41 +03:00
improve when to clear parab.effect from Tasks
This commit is contained in:
parent
b6520b1cd8
commit
f7471e59b3
@ -185,15 +185,17 @@ Item {
|
||||
clearTasksLowerThan(aLId1-1);
|
||||
|
||||
if (latteView){
|
||||
if (gAppletId > -1)
|
||||
if (gAppletId > -1) {
|
||||
latteView.parabolicManager.clearAppletsGreaterThan(gAppletId);
|
||||
else
|
||||
} else if (index < lastRealTaskIndex && lastRealTaskIndex!==-1) {
|
||||
latteView.parabolicManager.clearAppletsGreaterThan(latteView.latteAppletPos);
|
||||
}
|
||||
|
||||
if (lAppletId > -1)
|
||||
if (lAppletId > -1) {
|
||||
latteView.parabolicManager.clearAppletsLowerThan(lAppletId);
|
||||
else
|
||||
} else if (index > firstRealTaskIndex && firstRealTaskIndex!==-1) {
|
||||
latteView.parabolicManager.clearAppletsLowerThan(latteView.latteAppletPos);
|
||||
}
|
||||
}
|
||||
|
||||
return {leftScale:leftScale, rightScale:rightScale};
|
||||
|
Loading…
Reference in New Issue
Block a user