Skip to content

Commit

Permalink
Set dataRange bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
turner committed Oct 14, 2023
1 parent 180fae2 commit 9f3acbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dev/multi-select/multi-select.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,18 +231,21 @@ <h1>Multiple Track Selection</h1>
format: "bigwig",
url: 'https://www.encodeproject.org/files/ENCFF206QIK/@@download/ENCFF206QIK.bigWig',
color: "red",
height: 128,
},
{
type: "wig",
format: "bigwig",
url: "https://www.encodeproject.org/files/ENCFF000ASJ/@@download/ENCFF000ASJ.bigWig",
color: "green",
height: 128,
},
{
type: "wig",
format: "bigwig",
url: "https://www.encodeproject.org/files/ENCFF351WPV/@@download/ENCFF351WPV.bigWig",
color: "blue",
height: 128,
}
]
};
Expand Down
3 changes: 2 additions & 1 deletion js/trackView.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,10 @@ class TrackView {
if (1 === list.length) {
list[ 0 ].track.autoscale = false
list[ 0 ].track.autoscaleGroup = undefined
list[ 0 ].repaintViews()
}

this.browser.updateViews()
this.repaintViews()

}

Expand Down

0 comments on commit 9f3acbd

Please sign in to comment.