From 31def7663858b5ed4840fa3c90d374e0cd798867 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 30 Aug 2005 12:46:34 +0000 Subject: [PATCH] Update colours after remove left, cut, paste --- src/jalview/appletgui/AlignFrame.java | 6 ++++-- src/jalview/gui/AlignFrame.java | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/jalview/appletgui/AlignFrame.java b/src/jalview/appletgui/AlignFrame.java index 38aea52..bed10a1 100755 --- a/src/jalview/appletgui/AlignFrame.java +++ b/src/jalview/appletgui/AlignFrame.java @@ -422,6 +422,7 @@ public class AlignFrame viewport.alignment.getWidth(); viewport.updateConservation(); viewport.updateConsensus(); + resetAllColourSchemes(); alignPanel.repaint(); } @@ -490,6 +491,7 @@ public class AlignFrame } viewport.updateConservation(); viewport.updateConsensus(); + resetAllColourSchemes(); alignPanel.repaint(); } @@ -559,7 +561,7 @@ public class AlignFrame viewport.alignment.deleteGroup(sg); } } - + resetAllColourSchemes(); alignPanel.repaint(); } } @@ -587,7 +589,7 @@ public class AlignFrame viewport.alignment.deleteGroup(sg); } } - + resetAllColourSchemes(); alignPanel.repaint(); } diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index efe8e63..ada2421 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -707,6 +707,7 @@ public class AlignFrame viewport.alignment.getWidth(); viewport.updateConservation(); viewport.updateConsensus(); + resetAllColourSchemes(); alignPanel.repaint(); } } @@ -800,6 +801,7 @@ public class AlignFrame viewport.updateConservation(); viewport.updateConsensus(); + resetAllColourSchemes(); alignPanel.repaint(); } @@ -909,6 +911,7 @@ public class AlignFrame } } + resetAllColourSchemes(); alignPanel.repaint(); } } @@ -947,6 +950,7 @@ public class AlignFrame } } + resetAllColourSchemes(); alignPanel.repaint(); } } -- 1.7.10.2