From 6f3b2d39f15649cfa5808e18edbe8d5e876dc011 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 7 Apr 2005 13:23:00 +0000 Subject: [PATCH] Remove paintFlag ref --- src/jalview/gui/IdPanel.java | 1 - src/jalview/gui/SeqCanvas.java | 2 -- src/jalview/gui/SeqPanel.java | 3 --- 3 files changed, 6 deletions(-) diff --git a/src/jalview/gui/IdPanel.java b/src/jalview/gui/IdPanel.java index 8903ce3..07a3c55 100755 --- a/src/jalview/gui/IdPanel.java +++ b/src/jalview/gui/IdPanel.java @@ -140,7 +140,6 @@ public class IdPanel extends JPanel implements MouseListener, MouseMotionListene else selectSeq(seq); - alignPanel.seqPanel.seqCanvas.paintFlag=true; alignPanel.repaint(); repaint(); } diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index c6ecff2..5782661 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -16,8 +16,6 @@ public class SeqCanvas extends JPanel AlignViewport av; - // public boolean paintFlag = false; - boolean showScores = false; boolean displaySearch = false; int [] searchResults = null; diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index c39396e..3e47f4b 100755 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -449,7 +449,6 @@ public class SeqPanel extends JPanel changeStartRes = true; - seqCanvas.paintFlag = true; repaint(); } @@ -470,7 +469,6 @@ public class SeqPanel extends JPanel if(stretchGroup.cs instanceof ClustalxColourScheme) { stretchGroup.cs = new ClustalxColourScheme(stretchGroup.sequences, av.alignment.getWidth()); - seqCanvas.paintFlag = true; repaint(); } @@ -484,7 +482,6 @@ public class SeqPanel extends JPanel Desktop.setConservationSliderSource(ap, stretchGroup.cs, stretchGroup.getName()) ; - seqCanvas.paintFlag = true; repaint(); } else -- 1.7.10.2