Skip to content

Commit

Permalink
Performance bug - in some cases data load for CRAM files is triggered…
Browse files Browse the repository at this point in the history
… prematurely, outside the maximum visibility window. See #1883

Version bump
  • Loading branch information
jrobinso committed Sep 5, 2024
1 parent 9c717d2 commit dd0345d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/trackView.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ class TrackView {
const viewportsToRepaint = visibleViewports.filter(vp => vp.needsRepaint()).filter(viewport => viewport.checkZoomIn())

// Get viewports that require a data load
const viewportsToReload = visibleViewports.filter(viewport => viewport.needsReload())
const viewportsToReload = visibleViewports.filter(viewport => viewport.checkZoomIn()).filter(viewport => viewport.needsReload())

// Trigger viewport to load features needed to cover current genomic range
// NOTE: these must be loaded synchronously, do not user Promise.all, not all file readers are thread safe
Expand Down
2 changes: 1 addition & 1 deletion js/version.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const _version = "3.0.4"
const _version = "3.0.5"
function version() {
return _version
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "igv",
"version": "3.0.4",
"version": "3.0.5",
"main": "dist/igv.esm.js",
"browser": "dist/igv.js",
"module": "dist/igv.esm.js",
Expand Down

0 comments on commit dd0345d

Please sign in to comment.