X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fviewmodel%2FAlignmentViewport.java;fp=src%2Fjalview%2Fviewmodel%2FAlignmentViewport.java;h=536f76722459a14a585174bbd7dd333f0d4e454d;hb=f35dfec0655116f4eb1afec4997eb496683687f6;hp=ae101a309f4c20d508b0129a596c9bb8516b5d49;hpb=370ddb214bd5c3fb7bd5ae9e68be1a0db45e263c;p=jalview.git 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()