JAL-2277 bug fix for mis-alligned graphics output for scrolled annotations
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 21 Nov 2016 17:47:27 +0000 (17:47 +0000)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 21 Nov 2016 17:47:27 +0000 (17:47 +0000)
src/jalview/gui/AlignmentPanel.java

index 9f1162f..b551ad0 100644 (file)
@@ -1151,7 +1151,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
       if (isMultiGraphics)
       {
         // draw annotation - need to offset for current scroll position
-        pg[G1].translate(0, offset);
+        // pg[G1].translate(0, offset);
         pg[G1].translate(-idWidth - 3,
                 (endSeq - startSeq) * av.getCharHeight() + 3);
         pg[G1].translate(idWidth + 3, 0);