/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)
+ * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*/
public void mouseMoved(MouseEvent e)
{
- int seq = Math.max(0, alignPanel.seqPanel.findSeq(e));
+ SeqPanel sp = alignPanel.seqPanel;
+ int seq = Math.max(0, sp.findSeq(e));
String tmp;
if (seq > -1 && seq < av.alignment.getHeight())
{
{
int sz = -tip.length();
tfeat[0] = features[i];
- SeqPanel.appendFeatures(tip, linkImageURL, 0, tfeat);
+ sp.appendFeatures(tip, linkImageURL, 0, tfeat,sp.seqCanvas.fr.minmax);
sz+=tip.length();
maxWidth = Math.max(maxWidth, sz);
}