git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cd126a7
)
JAL-2551 Fix to group colouring when group extent is reduced
bug/JAL-2551
author
kiramt
<k.mourao@dundee.ac.uk>
Wed, 24 May 2017 12:47:58 +0000
(13:47 +0100)
committer
kiramt
<k.mourao@dundee.ac.uk>
Wed, 24 May 2017 12:47:58 +0000
(13:47 +0100)
src/jalview/gui/SeqPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqPanel.java
b/src/jalview/gui/SeqPanel.java
index
7dfac5e
..
23bba38
100644
(file)
--- a/
src/jalview/gui/SeqPanel.java
+++ b/
src/jalview/gui/SeqPanel.java
@@
-1737,7
+1737,7
@@
public class SeqPanel extends JPanel implements MouseListener,
List<SequenceFeature> allFeatures = ap.getFeatureRenderer()
.findFeaturesAtRes(sequence.getDatasetSequence(),
sequence.findPosition(res));
List<SequenceFeature> allFeatures = ap.getFeatureRenderer()
.findFeaturesAtRes(sequence.getDatasetSequence(),
sequence.findPosition(res));
- List<String> links = new ArrayList<String>();
+ List<String> links = new ArrayList<>();
for (SequenceFeature sf : allFeatures)
{
if (sf.links != null)
for (SequenceFeature sf : allFeatures)
{
if (sf.links != null)
@@
-2022,11
+2022,13
@@
public class SeqPanel extends JPanel implements MouseListener,
ap.getCalculationDialog().validateCalcTypes();
}
ap.getCalculationDialog().validateCalcTypes();
}
- // process further ?
- if (!av.followSelection)
- {
- return;
- }
+ return;
+ }
+
+ // process further ?
+ if (!av.followSelection)
+ {
+ return;
}
/*
}
/*