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

remove some init signals from TaskDelegate

--these init signals were breaking the parabolic
animation in the edges between the Task plasmoid and
neighbour applets
This commit is contained in:
Michail Vourlakos 2017-05-03 15:28:59 +03:00
parent df9edc5754
commit e39e796b28

View File

@ -517,7 +517,6 @@ MouseArea{
if(!root.hasInternalSeparator) {
root.updateScale(index+2, 1, 0);
root.updateScale(index-2, 1, 0);
root.updateScale(icList.tasksCount, 1, 0);
} else if(root.internalSeparatorPos>=0) {
if(root.internalSeparatorPos === index+1){
if (!positiveDirection) {
@ -540,12 +539,6 @@ MouseArea{
}
}
//!clear far away scales
if(index>1 && icList.tasksCount>2)
root.updateScale(-1, 1, 0);
if(index<icList.tasksCount-2 && icList.tasksCount>2)
root.updateScale(icList.tasksCount, 1, 0);
//Left hiddenSpacer
if(((index === 0 )&&(icList.count > 1)) && !root.disableLeftSpacer){
hiddenSpacerLeft.nScale = leftScale - 1;