From 549937ad2a0de178aa58ad3b00624b31d44bee64 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Tue, 26 Jun 2018 16:08:50 +0100 Subject: [PATCH] JAL-3032 updateOverviewImage on construction --- src/jalview/gui/OverviewPanel.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/jalview/gui/OverviewPanel.java b/src/jalview/gui/OverviewPanel.java index 02d54a8..0d5c123 100755 --- a/src/jalview/gui/OverviewPanel.java +++ b/src/jalview/gui/OverviewPanel.java @@ -242,6 +242,12 @@ public class OverviewPanel extends JPanel } }); + + /* + * Javascript does not call componentResized on initial display, + * so do the update here + */ + /** @j2sNative this.updateOverviewImage(); */ } /* -- 1.7.10.2