Skip to content

Commit

Permalink
Alignment track - don't repack on drag unless in FULL mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Aug 20, 2024
1 parent 0d4375d commit 3f4d87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/broad/igv/sam/AlignmentTrack.java
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public void receiveEvent(IGVEvent event) {
});
}
} else if (event instanceof ViewChange viewChange) {
if(viewChange.type == ViewChange.Type.LocusChange && !viewChange.panning) {
if(viewChange.type == ViewChange.Type.LocusChange && !viewChange.panning && getDisplayMode() == DisplayMode.FULL) {
packAlignments();
}
}
Expand Down

0 comments on commit 3f4d87b

Please sign in to comment.