Skip to content

Commit

Permalink
Re-enable tooltip updates on DataPanel
Browse files Browse the repository at this point in the history
* This was accidentally commented out, putting it back in.
  • Loading branch information
lbergelson committed Nov 15, 2024
1 parent af07c3b commit bdd6557
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/org/broad/igv/ui/panel/DataPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -567,12 +567,12 @@ class DataPanelMouseAdapter extends MouseInputAdapter {
@Override
public void mouseMoved(MouseEvent e) {
String position = null;
// if (!frame.getChrName().equals(Globals.CHR_ALL)) {
// int location = (int) frame.getChromosomePosition(e) + 1;
// position = frame.getChrName() + ":" + locationFormatter.format(location);
// IGV.getInstance().setStatusBarMessag2(position);
// }
// updateTooltipText(e.getX(), e.getY());
if (!frame.getChrName().equals(Globals.CHR_ALL)) {
int location = (int) frame.getChromosomePosition(e) + 1;
position = frame.getChrName() + ":" + locationFormatter.format(location);
IGV.getInstance().setStatusBarMessag2(position);
}
updateTooltipText(e.getX(), e.getY());

if (IGV.getInstance().isRulerEnabled()) {
IGV.getInstance().repaint();
Expand Down

0 comments on commit bdd6557

Please sign in to comment.