@ -255,14 +255,18 @@ Item {
if ( currentPos === - 1 && taskIndex >= 0 ) {
if ( currentPos === - 1 && taskIndex >= 0 ) {
/ / a d d t h a t s e p a r a t o r
/ / a d d t h a t s e p a r a t o r
/ / c o n s o l e . l o g ( " a d d s e p a r a t o r : " + l a u n c h e r + " a t : " + t a s k I n d e x ) ;
separators . push ( { launcherUrl: launcher , index: taskIndex } ) ;
separators . push ( { launcherUrl: launcher , index: taskIndex } ) ;
updated = true ;
updated = true ;
} else if ( currentPos > - 1 && taskIndex === - 1 ) {
} else if ( currentPos > - 1 && taskIndex === - 1 ) {
/ / r e m o v e t h a t s e p a r a t o r
/ / r e m o v e t h a t s e p a r a t o r
/ / c o n s o l e . l o g ( " r e m o v e s e p a r a t o r : " + l a u n c h e r ) ;
separators . splice ( currentPos , 1 ) ;
separators . splice ( currentPos , 1 ) ;
updated = true ;
updated = true ;
} else if ( currentPos > - 1 && taskIndex > - 1 && separators [ currentPos ] . index !== taskIndex ) {
} else if ( currentPos > - 1 && taskIndex > - 1 && separators [ currentPos ] . index !== taskIndex ) {
/ / u p d a t e t h a t s e p a r a t o r
/ / u p d a t e t h a t s e p a r a t o r
/ / c o n s o l e . l o g ( " u p d a t e s e p a r a t o r : " + l a u n c h e r + " f r o m : " + s e p a r a t o r s [ c u r r e n t P o s ] . i n d e x + " - > " + t a s k I n d e x ) ;
separators [ currentPos ] . index = taskIndex ;
separators [ currentPos ] . index = taskIndex ;
updated = true ;
updated = true ;
}
}