From 4bba61a3c701f83bdcb6707c4d9f17a1f5faaa04 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 17 Jun 2015 09:30:03 +0100 Subject: [PATCH] JAL-1588 restore ChimeraViewFrame geometry as well --- src/jalview/gui/Jalview2XML.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index 80cff07..e443512 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -3481,8 +3481,11 @@ public class Jalview2XML final SequenceI[][] seqsArray = allseqs.toArray(new SequenceI[allseqs .size()][]); String newViewId = viewerData.getKey(); - new ChimeraViewFrame(chimeraSessionFile, af.alignPanel, pdbArray, + ChimeraViewFrame cvf = new ChimeraViewFrame(chimeraSessionFile, + af.alignPanel, pdbArray, seqsArray, colourByChimera, colourBySequence, newViewId); + cvf.setSize(data.getWidth(), data.getHeight()); + cvf.setLocation(data.getX(), data.getY()); } /** -- 1.7.10.2