JAL-2099 ensure initial setting of scaleAbove reaches viewport
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 18 Jul 2016 15:38:53 +0000 (16:38 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 18 Jul 2016 15:38:53 +0000 (16:38 +0100)
src/jalview/appletgui/AlignFrame.java

index 8f1f2fd..cbb5c99 100644 (file)
@@ -219,6 +219,7 @@ public class AlignFrame extends EmbmenuFrame implements ActionListener,
     {
       viewport.setColumnSelection(columnSelection);
     }
+    viewport.setScaleAboveWrapped(scaleAbove.getState());
 
     alignPanel = new AlignmentPanel(this, viewport);
     avc = new jalview.controller.AlignViewController(this, viewport,