From f88feb436302c51c8274db1f085151fe2716bb08 Mon Sep 17 00:00:00 2001 From: Louis Bergelson Date: Tue, 19 Nov 2024 18:21:43 -0500 Subject: [PATCH] Re-enable tooltip updates on DataPanel (#1615) * This was accidentally commented out, putting it back in. --- src/main/java/org/broad/igv/ui/panel/DataPanel.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 ee7e88be5b..028344d4d8 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();