From: amwaterhouse Date: Fri, 27 Apr 2007 16:20:41 +0000 (+0000) Subject: REmove excessive painting X-Git-Tag: Release_2_3~115 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=16af141746661052f9902fe1ee2872ed07929667;p=jalview.git REmove excessive painting --- diff --git a/src/jalview/appletgui/IdPanel.java b/src/jalview/appletgui/IdPanel.java index fee5dd4..c510803 100755 --- a/src/jalview/appletgui/IdPanel.java +++ b/src/jalview/appletgui/IdPanel.java @@ -117,7 +117,7 @@ public class IdPanel } lastid = seq; - alignPanel.paintAlignment(true); + alignPanel.paintAlignment(false); } public void mouseClicked(MouseEvent e) @@ -224,7 +224,7 @@ public class IdPanel selectSeq(seq); } - alignPanel.paintAlignment(true); + alignPanel.paintAlignment(false); } void selectSeq(int seq) diff --git a/src/jalview/appletgui/ScalePanel.java b/src/jalview/appletgui/ScalePanel.java index 4db8054..a1d0bf7 100755 --- a/src/jalview/appletgui/ScalePanel.java +++ b/src/jalview/appletgui/ScalePanel.java @@ -189,7 +189,7 @@ public class ScalePanel if (!stretchingGroup) { - ap.paintAlignment(true); + ap.paintAlignment(false); return; } @@ -206,7 +206,7 @@ public class ScalePanel } stretchingGroup = false; - ap.paintAlignment(true); + ap.paintAlignment(false); } public void mouseDragged(MouseEvent evt) @@ -274,7 +274,7 @@ public class ScalePanel } } - ap.paintAlignment(true); + ap.paintAlignment(false); } } diff --git a/src/jalview/appletgui/SeqPanel.java b/src/jalview/appletgui/SeqPanel.java index 034106d..c56ded6 100755 --- a/src/jalview/appletgui/SeqPanel.java +++ b/src/jalview/appletgui/SeqPanel.java @@ -781,7 +781,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;