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:
6e5cc96
)
JAL-2435 tidy code
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 31 Mar 2017 08:58:51 +0000
(09:58 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 31 Mar 2017 08:58:51 +0000
(09:58 +0100)
src/jalview/gui/SplitFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SplitFrame.java
b/src/jalview/gui/SplitFrame.java
index
3174259
..
1d929e6
100644
(file)
--- a/
src/jalview/gui/SplitFrame.java
+++ b/
src/jalview/gui/SplitFrame.java
@@
-188,12
+188,8
@@
public class SplitFrame extends GSplitFrame implements SplitContainerI
: (!bottomAlignment.isNucleotide() ? bottomViewport : null);
if (protein != null && cdna != null)
{
- // if (protein.isProteinFontAsCdna())
- // {
- // TODO handle different fonts
- int scale = protein.isScaleProteinAsCdna() ? 3 : 1;
- protein.setCharWidth(scale * cdna.getViewStyle().getCharWidth());
- // }
+ int scale = protein.isScaleProteinAsCdna() ? 3 : 1;
+ protein.setCharWidth(scale * cdna.getViewStyle().getCharWidth());
}
}