only do scaletofit for annotation labels
authorjprocter <Jim Procter>
Mon, 22 Mar 2010 17:17:39 +0000 (17:17 +0000)
committerjprocter <Jim Procter>
Mon, 22 Mar 2010 17:17:39 +0000 (17:17 +0000)
src/jalview/gui/AnnotationLabels.java

index 3ea788b..1b5ab83 100755 (executable)
@@ -499,9 +499,9 @@ public class AnnotationLabels extends JPanel implements MouseListener,
     // TODO: annotation object should be typed for autocalculated/derived property methods
     if (selectedRow < aa.length)
     {
-      if (!aa[selectedRow].autoCalculated)
+      if (!aa[selectedRow].autoCalculated && aa[selectedRow].graph==AlignmentAnnotation.NO_GRAPH)
       {
-        // display settings for this row.
+        // display formatting settings for this row.
         pop.addSeparator();
         // av and sequencegroup need to implement same interface for
         item = new JCheckBoxMenuItem(TOGGLE_LABELSCALE,