From: hansonr Date: Tue, 27 Aug 2019 03:13:27 +0000 (-0500) Subject: developer note pnly X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=commitdiff_plain;h=a94a9652cff4b0dddcf2c0128ed79cc3e2d40324 developer note pnly * * BH Note: It is critical that any call to * AlignViewportI.setGlobalColourScheme is followed closely, if not * immediately, by a call to AlignPanel.repaint(true, true) so that the * overview is updated. When that happens, the sequence overview color caches * are cleared. * --- diff --git a/src/jalview/api/AlignViewportI.java b/src/jalview/api/AlignViewportI.java index dcd3258..cec61f4 100644 --- a/src/jalview/api/AlignViewportI.java +++ b/src/jalview/api/AlignViewportI.java @@ -200,6 +200,12 @@ public interface AlignViewportI extends ViewStyleI * sub-groups, which may have their own colour schemes). A null value is used * for no residue colour (white). * + * BH Note: It is critical that any call to + * AlignViewportI.setGlobalColourScheme is followed closely, if not + * immediately, by a call to AlignPanel.repaint(true, true) so that the + * overview is updated. When that happens, the sequence overview color caches + * are cleared. + * * @param cs */ void setGlobalColourScheme(ColourSchemeI cs);