From: amwaterhouse Date: Fri, 27 Apr 2007 16:21:01 +0000 (+0000) Subject: remove excessive painting X-Git-Tag: Release_2_3~114 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9f5c441eab11a7bfedbe8b23735519e43369d9dd;p=jalview.git remove excessive painting --- diff --git a/src/jalview/gui/ScalePanel.java b/src/jalview/gui/ScalePanel.java index f71ff3a..3e91f21 100755 --- a/src/jalview/gui/ScalePanel.java +++ b/src/jalview/gui/ScalePanel.java @@ -174,7 +174,7 @@ public class ScalePanel } - ap.paintAlignment(true); + ap.paintAlignment(false); } /** @@ -200,7 +200,7 @@ public class ScalePanel if (!stretchingGroup) { - ap.paintAlignment(true); + ap.paintAlignment(false); return; } @@ -219,7 +219,7 @@ public class ScalePanel } } stretchingGroup = false; - ap.paintAlignment(true); + ap.paintAlignment(false); } /** @@ -292,7 +292,7 @@ public class ScalePanel } } - ap.paintAlignment(true); + ap.paintAlignment(false); } } diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 6621c41..aaad2ae 100755 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -205,7 +205,8 @@ public class SeqPanel } if (features[i].featureGroup != null - && seqCanvas.fr.featureGroups!=null + && seqCanvas.fr.featureGroups!=null + && seqCanvas.fr.featureGroups.containsKey(features[i].featureGroup) && !((Boolean)seqCanvas.fr.featureGroups.get(features[i].featureGroup)).booleanValue()) continue;