Repaint after feature added
authoramwaterhouse <Andrew Waterhouse>
Fri, 27 Apr 2007 16:20:22 +0000 (16:20 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 27 Apr 2007 16:20:22 +0000 (16:20 +0000)
src/jalview/appletgui/FeatureRenderer.java

index 1061efd..6ab6060 100755 (executable)
@@ -378,6 +378,8 @@ public class FeatureRenderer
         System.arraycopy(renderOrder,0,tro,1,renderOrder.length-1);\r
         renderOrder = tro;\r
 \r
+        ap.paintAlignment(true);\r
+\r
         return true;\r
       }\r
       else\r
@@ -388,6 +390,8 @@ public class FeatureRenderer
 \r
     findAllFeatures();\r
 \r
+    ap.paintAlignment(true);\r
+\r
     return true;\r
   }\r
 \r