Skip to content
Snippets Groups Projects
Commit 9c938f52 authored by tcarver's avatar tcarver
Browse files

set viewport position when switching to coverage plot

parent 4bb86c4e
Branches
Tags
No related merge requests found
......@@ -2446,6 +2446,12 @@ public class BamView extends JPanel
{
laststart = -1;
logMenuItem.setEnabled(isIsizeStackView());
if(cbCoverageView.isSelected())
{
Point p = jspView.getViewport().getLocation();
p.y = getHeight();
jspView.getViewport().setViewPosition(p);
}
repaint();
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment