mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-24 18:50:38 +03:00
improve initialization signals
This commit is contained in:
parent
3bac6d325e
commit
00edd1ef5d
@ -479,6 +479,7 @@ 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){
|
||||
root.updateScale(index+3, 1, 0);
|
||||
@ -489,6 +490,13 @@ MouseArea{
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user