public void mouseMoved(MouseEvent evt)\r
{\r
doMouseMoved(evt);\r
+ if (editingSeqs)\r
+ {\r
+ // This is because MacOSX creates a mouseMoved\r
+ // If control is down\r
+ if(!av.isDataset())\r
+ doMouseDragged(evt);\r
+ }\r
}\r
\r
public void mouseDragged(MouseEvent evt)\r
if (evt.isAltDown() || evt.isControlDown())\r
{\r
groupEditing = true;\r
+\r
}\r
\r
editingSeqs = true;\r
// use aa to see if the mouse pointer is on a\r
if (av.showSequenceFeatures)\r
{\r
- Vector features = sequence.getSequenceFeatures();\r
+ Vector features = sequence.getDatasetSequence().getSequenceFeatures();\r
if(features!=null)\r
{\r
StringBuffer sbuffer = new StringBuffer("<html>");\r
}\r
\r
sbuffer.append("</html>");\r
- if(sbuffer.equals("<html></html>"))\r
+ if(sbuffer.length()==13) // <html></html>\r
setToolTipText("");\r
else\r
setToolTipText(sbuffer.toString());\r
}\r
+ else\r
+ setToolTipText("");\r
}\r
}\r
\r