From da66cf1130998cd785d9bc2954bb79a3c7da1266 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 27 Apr 2007 16:20:22 +0000 Subject: [PATCH] Repaint after feature added --- src/jalview/appletgui/FeatureRenderer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jalview/appletgui/FeatureRenderer.java b/src/jalview/appletgui/FeatureRenderer.java index 1061efd..6ab6060 100755 --- a/src/jalview/appletgui/FeatureRenderer.java +++ b/src/jalview/appletgui/FeatureRenderer.java @@ -378,6 +378,8 @@ public class FeatureRenderer System.arraycopy(renderOrder,0,tro,1,renderOrder.length-1); renderOrder = tro; + ap.paintAlignment(true); + return true; } else @@ -388,6 +390,8 @@ public class FeatureRenderer findAllFeatures(); + ap.paintAlignment(true); + return true; } -- 1.7.10.2