Skip to content

Commit

Permalink
Don't fetch sequence when zoomed out in Apollo Track (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
shashankbrgowda authored Nov 5, 2024
1 parent 37c5e03 commit 4ca50a8
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,11 @@ export function baseModelFactory(
void (
self.session as unknown as ApolloSessionModel
).apolloDataStore.loadFeatures(self.regions)
void (
self.session as unknown as ApolloSessionModel
).apolloDataStore.loadRefSeq(self.regions)
if (self.lgv.bpPerPx <= 3) {
void (
self.session as unknown as ApolloSessionModel
).apolloDataStore.loadRefSeq(self.regions)
}
},
{ name: 'LinearApolloDisplayLoadFeatures', delay: 1000 },
),
Expand Down

0 comments on commit 4ca50a8

Please sign in to comment.