From f2287ae5b61b6bf36ee90bd6bbf38d44331bf273 Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 22 Mar 2010 17:17:39 +0000 Subject: [PATCH] only do scaletofit for annotation labels --- src/jalview/gui/AnnotationLabels.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 1.7.10.2