JAL-1264 update annotation panel dimensions before refresh
authorJim Procter <jprocter@dundee.ac.uk>
Mon, 24 Nov 2014 16:06:31 +0000 (16:06 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Mon, 24 Nov 2014 16:06:31 +0000 (16:06 +0000)
src/jalview/gui/AlignFrame.java

index 684e7ac..03a3944 100644 (file)
@@ -5797,7 +5797,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
         aa.visible = visible;
       }
     }
-    this.alignPanel.paintAlignment(true);
+    alignPanel.validateAnnotationDimensions(false);
+    alignPanel.alignmentChanged();
   }
 
   /**