git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
JAL-3633 Small changes to allow future fitting with ApplicationSingletonI/Jalview...
[jalview.git]
/
src
/
jalview
/
gui
/
OverviewPanel.java
diff --git
a/src/jalview/gui/OverviewPanel.java
b/src/jalview/gui/OverviewPanel.java
index
0670616
..
a5aaf7c
100755
(executable)
--- a/
src/jalview/gui/OverviewPanel.java
+++ b/
src/jalview/gui/OverviewPanel.java
@@
-249,9
+249,10
@@
public class OverviewPanel extends JPanel
* Javascript does not call componentResized on initial display,
* so do the update here
*/
- boolean doUpdate = /** @j2sNative true || */ false;
- if (doUpdate)
+ if (Platform.isJS())
+ {
updateOverviewImage();
+ }
}
/*