diff --git a/src/main/java/org/broad/igv/ui/panel/DataPanel.java b/src/main/java/org/broad/igv/ui/panel/DataPanel.java index ee7e88be5..028344d4d 100644 --- a/src/main/java/org/broad/igv/ui/panel/DataPanel.java +++ b/src/main/java/org/broad/igv/ui/panel/DataPanel.java @@ -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();