JAL-4273 actually pass startSeq etc on to rendering code when rendering for image...
authorJames Procter <j.procter@dundee.ac.uk>
Wed, 15 Nov 2023 15:33:06 +0000 (15:33 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Wed, 15 Nov 2023 15:33:06 +0000 (15:33 +0000)
src/jalview/gui/IdCanvas.java

index 3ee3316..76020c7 100755 (executable)
@@ -398,13 +398,13 @@ public class IdCanvas extends JPanel implements ViewportListenerI
    * 
    * @param g
    * @param av2
-   * @param i
+   * @param startSeq
    * @param totalHeight
    */
-  public void drawIdsWrappedNoGUI(Graphics2D g, AlignViewport av2, int i,
-          int totalHeight)
+  public void drawIdsWrappedNoGUI(Graphics2D g, AlignViewport av2,
+          int startSeq, int totalHeight)
   {
-    drawIdsWrapped(g, av2, totalHeight, totalHeight, i, false);
+    drawIdsWrapped(g, av2, startSeq, totalHeight, -1, false);
   }
 
   public void drawIdsWrapped(Graphics2D g, AlignViewport alignViewport,