JAL-2435 tidy code
[jalview.git] / src / jalview / gui / SplitFrame.java
index 3174259..1d929e6 100644 (file)
@@ -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());
     }
   }