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-3772 Preference to NOT prompt to save remotely loaded alignments
[jalview.git]
/
src
/
jalview
/
appletgui
/
AnnotationPanel.java
diff --git
a/src/jalview/appletgui/AnnotationPanel.java
b/src/jalview/appletgui/AnnotationPanel.java
index
2b50c32
..
aa047d1
100755
(executable)
--- a/
src/jalview/appletgui/AnnotationPanel.java
+++ b/
src/jalview/appletgui/AnnotationPanel.java
@@
-99,14
+99,14
@@
public class AnnotationPanel extends Panel
public static int GRAPH_HEIGHT = 40;
public static int GRAPH_HEIGHT = 40;
- boolean MAC = false;
+ // boolean MAC = false;
public final AnnotationRenderer renderer;
public AnnotationPanel(AlignmentPanel ap)
{
new jalview.util.Platform();
public final AnnotationRenderer renderer;
public AnnotationPanel(AlignmentPanel ap)
{
new jalview.util.Platform();
- MAC = Platform.isAMac();
+ // MAC = Platform.isAMac();
this.ap = ap;
av = ap.av;
setLayout(null);
this.ap = ap;
av = ap.av;
setLayout(null);
@@
-343,7
+343,7
@@
public class AnnotationPanel extends Panel
{
activeRow = i;
}
{
activeRow = i;
}
- else if (aa[i].graph > 0)
+ else if (aa[i].graph != AlignmentAnnotation.NO_GRAPH)
{
// Stretch Graph
graphStretch = i;
{
// Stretch Graph
graphStretch = i;