Skip to content

Commit

Permalink
removal unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
turner committed Dec 5, 2023
1 parent c703bd8 commit a606bd9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions js/trackViewport.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ class TrackViewport extends Viewport {

this.popoverList = undefined

this.browser.on('trackorderchanged', ignore => {

if (this.popoverList) {
for (let i = 0; i < this.popoverList.length; i++ ) {
this.popoverList[ i ].dispose()
}
this.popoverList = undefined
}
})
// this.browser.on('trackorderchanged', ignore => {
//
// if (this.popoverList) {
// for (let i = 0; i < this.popoverList.length; i++ ) {
// this.popoverList[ i ].dispose()
// }
// this.popoverList = undefined
// }
// })
}

setContentHeight(contentHeight) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
},
"browserslist": "> 1%, not dead",
"devDependencies": {
"html2canvas": "^1.4.1",
"@rollup/plugin-strip": "^3.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@xmldom/xmldom": "^0.7.9",
Expand All @@ -53,6 +52,7 @@
"circular-view": "github:igvteam/circular-view#v0.2.4",
"eslint": "^6.4.0",
"hdf5-indexed-reader": "github:jrobinso/hdf5-indexed-reader#v0.5.5",
"html2canvas": "^1.4.1",
"igv-ui": "github:igvteam/igv-ui#dat_popover_edits",
"igv-utils": "github:igvteam/igv-utils#v1.4.8",
"mocha": "^10.2.0",
Expand Down

0 comments on commit a606bd9

Please sign in to comment.