From: jprocter Date: Mon, 22 Mar 2010 17:17:39 +0000 (+0000) Subject: only do scaletofit for annotation labels X-Git-Tag: Release_2_5~119 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f2287ae5b61b6bf36ee90bd6bbf38d44331bf273;p=jalview.git only do scaletofit for annotation labels --- diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index 3ea788b..1b5ab83 100755 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@ -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,