JAL-4260 reinstate annotation auto-id-width for wrapped view in headless mode (JAL...
authorJames Procter <j.procter@dundee.ac.uk>
Wed, 1 Nov 2023 16:18:36 +0000 (16:18 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Wed, 1 Nov 2023 16:19:14 +0000 (16:19 +0000)
src/jalview/gui/IdCanvas.java

index 4d10db0..0dde9b5 100755 (executable)
@@ -307,7 +307,7 @@ public class IdCanvas extends JPanel implements ViewportListenerI
 
     if (alignViewport.getWrapAlignment())
     {
-      drawIdsWrapped(g, alignViewport, startSeq, getHeight(), panelWidth,forGUI);
+      drawIdsWrapped(g, alignViewport, startSeq, getHeight(), manuallyAdjusted ? panelWidth : -1,forGUI);
       return;
     }