From 03c446f178b6a0b61ad33cb219398132d640fbef Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 1 May 2006 13:23:46 +0000 Subject: [PATCH] Forces init of alignPanel if annotations added --- src/jalview/bin/JalviewLite.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jalview/bin/JalviewLite.java b/src/jalview/bin/JalviewLite.java index 199a843..6876976 100755 --- a/src/jalview/bin/JalviewLite.java +++ b/src/jalview/bin/JalviewLite.java @@ -290,6 +290,7 @@ public class JalviewLite extends Applet file, embedded); + initialAlignFrame = currentAlignFrame; currentAlignFrame.statusBar.setText("Successfully loaded file " + file); @@ -343,6 +344,8 @@ public class JalviewLite extends Applet param); currentAlignFrame.alignPanel.fontChanged(); + currentAlignFrame.alignPanel.setScrollValues(0,0); + } -- 1.7.10.2