From: amwaterhouse Date: Wed, 28 Sep 2005 15:07:04 +0000 (+0000) Subject: Put clip back in X-Git-Tag: Release_2_06~6 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=30b06773e77100b3f2460670cec577b0418d431e;p=jalview.git Put clip back in --- diff --git a/src/jalview/appletgui/SeqCanvas.java b/src/jalview/appletgui/SeqCanvas.java index 46ddf37..1de9418 100755 --- a/src/jalview/appletgui/SeqCanvas.java +++ b/src/jalview/appletgui/SeqCanvas.java @@ -359,7 +359,12 @@ public class SeqCanvas } + if(g.getClip()==null) + g.setClip(0, 0, cWidth * av.charWidth, canvasHeight); + drawPanel(g, startRes, endx, 0, al.getHeight(), startRes, 0, ypos); + g.setClip(null); + if(av.showAnnotation) {