Skip to content

Commit

Permalink
await update of ruler track & ideogram views. This has some advantage…
Browse files Browse the repository at this point in the history
…s for API users. These updates are fast, and the await is harmless. See PR #1844
  • Loading branch information
jrobinso committed Jul 12, 2024
1 parent bc65cdd commit afe238a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ class Browser {

// The ruler and ideogram tracks are not explicitly loaded, but needs updated nonetheless.
for (let rtv of this.trackViews.filter((tv) => tv.track.type === 'ruler' || tv.track.type === 'ideogram')) {
rtv.updateViews()
await rtv.updateViews()
}

// If any tracks are selected show the selectino buttons
Expand Down

0 comments on commit afe238a

Please sign in to comment.