@@ -497,10 +497,11 @@ function changeEditable(index,reset=false){
497497
498498function changeEditable2 ( ind ) { // used for deleting trace below the currenteditable
499499 if ( swapperIsOn ) return
500- $ ( `.scatterlayer .trace:nth-of-type(${ currentEditable + 1 } ) .points path` ) . css ( { 'pointer-events' :'none' } )
501- $ ( `.scatterlayer .trace:nth-of-type(${ ind + 1 } ) .points path` ) . css ( { 'pointer-events' :'all' } )
500+ // $(`.scatterlayer .trace:nth-of-type(${currentEditable+1}) .points path`).css({'pointer-events':'none'})
502501 currentEditable = ind
503- points = figurecontainer . querySelector ( `.scatterlayer .trace:nth-of-type(${ currentEditable + 1 } ) .points` ) . getElementsByTagName ( "path" ) ;
502+ $ ( `.scatterlayer .trace .points path` ) . css ( { 'pointer-events' :'none' } )
503+ $ ( `.scatterlayer .trace:nth-of-type(${ ind + 1 } ) .points path` ) . css ( { 'pointer-events' :'all' } )
504+ points = figurecontainer . querySelector ( `.scatterlayer .trace:nth-of-type(${ ind + 1 } ) .points` ) . getElementsByTagName ( "path" ) ;
504505 dpsx . forEach ( ( _ , i ) => { points [ i ] . index = i } )
505506}
506507
@@ -814,7 +815,7 @@ function tools(option,index){
814815function makeRows ( ) {
815816 $ ( '#files' ) . html (
816817 fileNames . map ( ( i , j ) => {
817- var selTxt = "<select class='flSelect'>" + fullData [ j ] [ 0 ] . map ( ( _ , j ) => j ) . map ( i => `<option>${ i + 1 } </option>` ) . join ( ' ' ) + "</select>"
818+ var selTxt = "<select class='flSelect'>" + fullData [ j ] [ 0 ] . map ( ( _ , i ) => `<option>${ i + 1 } </option>` ) . join ( ' ' ) + "</select>"
818819 return `
819820 <div class="fList ${ currentEditable == j ? 'selected' : '' } " >
820821 <div class="fName" onclick="tools(0,${ j } )" title=${ replaceWithHome ( i ) } >
@@ -835,5 +836,5 @@ function makeRows() {
835836 </div>
836837 </div>` } ) . join ( ' ' )
837838 )
838- document . getElementById ( 'lockAllAxes' ) . style . display = fullData . length > 1 ? 'block' : 'none'
839+ // document.getElementById('lockAllAxes').style.display = fullData.length >1 ? 'block': 'none'
839840}
0 commit comments