From baca3e1d25692175ab0d6e392427c0ff97534c37 Mon Sep 17 00:00:00 2001 From: James Procter Date: Wed, 1 Nov 2023 16:18:36 +0000 Subject: [PATCH] JAL-4260 reinstate annotation auto-id-width for wrapped view in headless mode (JAL-244) whilst still right-aligning labels --- src/jalview/gui/IdCanvas.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/IdCanvas.java b/src/jalview/gui/IdCanvas.java index 4d10db0..0dde9b5 100755 --- a/src/jalview/gui/IdCanvas.java +++ b/src/jalview/gui/IdCanvas.java @@ -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; } -- 1.7.10.2