From: gmungoc Date: Fri, 26 Apr 2019 09:20:31 +0000 (+0100) Subject: JAL-3226 removal of superseded changes X-Git-Tag: Release_2_11_4_0~45^2~18^2~134 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f35dfec0655116f4eb1afec4997eb496683687f6;p=jalview.git JAL-3226 removal of superseded changes --- diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index 88d6db7..e962709 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -430,12 +430,9 @@ public class SeqCanvas extends JPanel implements ViewportListenerI drawSelectionGroup((Graphics2D) g, startRes, endRes, startSeq, endSeq); fastPaint = false; - // System.out.println("SeqCanvas fast paint"); } else { - // System.out.println("SeqCanvas full paint"); - // img is a cached version of the last view we drew. // If we have no img or the size has changed, make a new one. // diff --git a/src/jalview/viewmodel/AlignmentViewport.java b/src/jalview/viewmodel/AlignmentViewport.java index ae101a3..536f767 100644 --- a/src/jalview/viewmodel/AlignmentViewport.java +++ b/src/jalview/viewmodel/AlignmentViewport.java @@ -1323,21 +1323,6 @@ public abstract class AlignmentViewport */ private boolean followHighlight = true; - // private boolean disableFastPaint; // BH 2019.04.18 - // - // /** - // * BH 2019.04.18 When gap filling is on and a modification is made to fill - // * those, we need to disallow fast painting for paste just once - // * - // * @return - // */ - // public boolean isFastPaintDisabled() - // { - // boolean ret = disableFastPaint; - // disableFastPaint = false; - // return ret; - // } - /** * Property change listener for changes in alignment * @@ -1873,11 +1858,6 @@ public abstract class AlignmentViewport if (isPadGaps()) { alignment.padGaps(); - // if (alignment.padGaps()) - // { - // // the new alignment has been modified -- can't fast paint - // disableFastPaint = true; - // } } if (autoCalculateConsensus) { @@ -2287,7 +2267,7 @@ public abstract class AlignmentViewport public void clearSequenceColours() { sequenceColours.clear(); - }; + } @Override public AlignViewportI getCodingComplement()