+
+ /*
+ * If in a SplitFrame with co-scaled alignments, set the other's id width to
+ * match; note applet does not (yet) store this in ViewStyle
+ */
+ /*
+ * Code disabled for now as it doesn't work, don't know why; idCanvas width
+ * keeps resetting to a previous value (actually two alternating values!)
+ */
+ // final AlignViewportI viewport = ap.getAlignViewport();
+ // if (viewport.getCodingComplement() != null
+ // && viewport.isScaleProteinAsCdna())
+ // {
+ // Dimension d = ap.idPanel.idCanvas.getSize();
+ // SplitFrame sf = ap.alignFrame.getSplitFrame();
+ // final AlignmentPanel otherPanel =
+ // sf.getComplement(ap.alignFrame).alignPanel;
+ // otherPanel.setIdWidth(d.width, d.height);
+ // otherPanel.repaint();
+ // }