JAL-2388 Unit tests and tidies
[jalview.git] / src / jalview / appletgui / AlignViewport.java
index f927e63..f5d6ce7 100644 (file)
@@ -39,6 +39,7 @@ import jalview.structure.SelectionSource;
 import jalview.structure.StructureSelectionManager;
 import jalview.structure.VamsasSource;
 import jalview.viewmodel.AlignmentViewport;
+import jalview.viewmodel.ViewportPositionProps;
 
 import java.awt.Font;
 
@@ -74,6 +75,7 @@ public class AlignViewport extends AlignmentViewport implements
     calculator = new jalview.workers.AlignCalcManager();
     this.applet = applet;
     alignment = al;
+    posProps = new ViewportPositionProps(this.alignment);
     // we always pad gaps
     this.setPadGaps(true);
     this.setStartRes(0);