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

disable init messages for parabolic effect

This commit is contained in:
Michail Vourlakos 2017-05-03 23:50:19 +03:00
parent 1cdd5fde9a
commit 6eb65facca

View File

@ -516,14 +516,14 @@ MouseArea{
if(!root.hasInternalSeparator) {
//restore neighbour tasks
var hIndex = index + 2;
/* var hIndex = index + 2;
var lIndex = index - 2;
if (hIndex<=icList.tasksCount)
root.updateScale(hIndex, 1, 0);
if (lIndex>=-1)
root.updateScale(lIndex, 1, 0);
root.updateScale(lIndex, 1, 0);*/
} else if(root.internalSeparatorPos>=0) {
if(root.internalSeparatorPos === index+1){
@ -534,14 +534,14 @@ MouseArea{
}
//restore neighbour tasks
var hIndex = index + 3;
/* var hIndex = index + 3;
var lIndex = index - 2;
if (hIndex<=icList.tasksCount)
root.updateScale(hIndex, 1, 0);
if (lIndex>=-1)
root.updateScale(lIndex, 1, 0);
root.updateScale(lIndex, 1, 0);*/
} else if(root.internalSeparatorPos === index-1) {
if (!positiveDirection) {
@ -551,14 +551,14 @@ MouseArea{
}
//restore neighbour tasks
var hIndex = index + 2;
/* var hIndex = index + 2;
var lIndex = index - 3;
if (hIndex<=icList.tasksCount)
root.updateScale(hIndex, 1, 0);
if (lIndex>=-1)
root.updateScale(lIndex, 1, 0);
root.updateScale(lIndex, 1, 0);*/
}
}