1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-27 14:50:21 +03:00

fix parabolic effect breakage

--when there is only one applet on the left, the
parabolic effect from Tasks was breaking
This commit is contained in:
Michail Vourlakos 2018-01-24 18:03:29 +02:00
parent 1b4052e6dc
commit 37a5543564

View File

@ -201,7 +201,7 @@ Item {
if (lAppletId > -1)
latteDock.parabolicManager.clearAppletsLowerThan(lAppletId);
else
latteDock.parabolicManager.clearAppletsLowerThan(latteDock.latteAppletPos);
latteDock.parabolicManager.clearAppletsLowerThan(latteDock.latteAppletPos-1);
}
return {leftScale:leftScale, rightScale:rightScale};