Skip to content

Commit

Permalink
Re-enable tooltip updates on DataPanel (#1615)
Browse files Browse the repository at this point in the history
* This was accidentally commented out, putting it back in.
  • Loading branch information
lbergelson authored Nov 19, 2024
1 parent 5a9d821 commit f88feb4
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 f88feb4

Please sign in to comment.