From: gmungoc Date: Fri, 31 Aug 2018 10:39:51 +0000 (+0100) Subject: JAL-3003 remove redundant call to drawSelectionGroup X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fbug%2FJAL-3003epsWithSelection;p=jalview.git JAL-3003 remove redundant call to drawSelectionGroup --- diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index 928ce41..d767537 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -364,10 +364,6 @@ public class SeqCanvas extends JComponent implements ViewportListenerI width -= (width % charWidth); height -= (height % charHeight); - drawSelectionGroup((Graphics2D) g, - ranges.getStartRes(), ranges.getEndRes(), - ranges.getStartSeq(), ranges.getEndSeq()); - if ((img != null) && (fastPaint || (getVisibleRect().width != g.getClipBounds().width) || (getVisibleRect().height != g.getClipBounds().height)))