JAL-3032 updateOverviewImage on construction
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 26 Jun 2018 15:08:50 +0000 (16:08 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 26 Jun 2018 15:08:50 +0000 (16:08 +0100)
src/jalview/gui/OverviewPanel.java

index 02d54a8..0d5c123 100755 (executable)
@@ -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(); */
   }
 
   /*