From 30b06773e77100b3f2460670cec577b0418d431e Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 28 Sep 2005 15:07:04 +0000 Subject: [PATCH] Put clip back in --- src/jalview/appletgui/SeqCanvas.java | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 1.7.10.2