Forces init of alignPanel if annotations added
authoramwaterhouse <Andrew Waterhouse>
Mon, 1 May 2006 13:23:46 +0000 (13:23 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 1 May 2006 13:23:46 +0000 (13:23 +0000)
src/jalview/bin/JalviewLite.java

index 199a843..6876976 100755 (executable)
@@ -290,6 +290,7 @@ public class JalviewLite extends Applet
                                                  file,\r
                                                  embedded);\r
 \r
+\r
               initialAlignFrame = currentAlignFrame;\r
 \r
               currentAlignFrame.statusBar.setText("Successfully loaded file " + file);\r
@@ -343,6 +344,8 @@ public class JalviewLite extends Applet
                    param);\r
 \r
                currentAlignFrame.alignPanel.fontChanged();\r
+               currentAlignFrame.alignPanel.setScrollValues(0,0);\r
+\r
              }\r
 \r
 \r