X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fviewmodel%2FAlignmentViewport.java;fp=src%2Fjalview%2Fviewmodel%2FAlignmentViewport.java;h=ae101a309f4c20d508b0129a596c9bb8516b5d49;hb=42984135d36f8bb943fc4c20879359d1508bac0f;hp=f2ab8a6a883044c20943dc8082cbd62d11afae9f;hpb=2906ed2402d0c662ab0bf857dbea103cfb344843;p=jalview.git diff --git a/src/jalview/viewmodel/AlignmentViewport.java b/src/jalview/viewmodel/AlignmentViewport.java index f2ab8a6..ae101a3 100644 --- a/src/jalview/viewmodel/AlignmentViewport.java +++ b/src/jalview/viewmodel/AlignmentViewport.java @@ -1323,20 +1323,20 @@ 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; - } + // 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 @@ -1872,11 +1872,12 @@ public abstract class AlignmentViewport { if (isPadGaps()) { - if (alignment.padGaps()) - { - // the new alignment has been modified -- can't fast paint - disableFastPaint = true; - } + alignment.padGaps(); + // if (alignment.padGaps()) + // { + // // the new alignment has been modified -- can't fast paint + // disableFastPaint = true; + // } } if (autoCalculateConsensus) {