From: gmungoc Date: Wed, 17 Jun 2015 08:30:03 +0000 (+0100) Subject: JAL-1588 restore ChimeraViewFrame geometry as well X-Git-Tag: Release_2_10_0~605 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4bba61a3c701f83bdcb6707c4d9f17a1f5faaa04;p=jalview.git JAL-1588 restore ChimeraViewFrame geometry as well --- 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()); } /**