From 66616c7a1c2e1d72e98573258b14cd23b5e45ea7 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 21 Apr 2011 14:51:08 +0000 Subject: [PATCH] patch for JAL-820 and JAL-821 --- src/jalview/gui/AnnotationLabels.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index 740a13a..6626016 100755 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@ -197,11 +197,6 @@ public class AnnotationLabels extends JPanel implements MouseListener, else if (evt.getActionCommand().equals(HIDE)) { aa[selectedRow].visible = false; - - if (aa[selectedRow].label.equals("Quality")) - { - ap.av.quality = null; - } } else if (evt.getActionCommand().equals(DELETE)) { @@ -245,9 +240,11 @@ public class AnnotationLabels extends JPanel implements MouseListener, aa[selectedRow].scaleColLabel = !aa[selectedRow].scaleColLabel; } - ap.annotationPanel.adjustPanelHeight(); - ap.annotationScroller.validate(); - ap.paintAlignment(true); + ap.validateAnnotationDimensions(false); + ap.addNotify(); + ap.repaint(); + //validate(); + //ap.paintAlignment(true); } /** -- 1.7.10.2