Merge branch 'develop' into features/JAL-4134_use_annotation_row_for_colours_and_groups
[jalview.git] / src / jalview / renderer / ContactMapRenderer.java
index ef95360..a8f6c1b 100644 (file)
@@ -35,12 +35,10 @@ public abstract class ContactMapRenderer implements AnnotationRowRendererI
      * shown when no data available from map
      */
     Color no_data;
-
     /**
      * shown for region not currently visible - should normally not see this
      */
     Color hidden;
-
     /**
      * linear shading scheme min/max
      */
@@ -153,7 +151,6 @@ public abstract class ContactMapRenderer implements AnnotationRowRendererI
       // ContactListI from viewport can map column -> group
       Color gpcol = (cm == null) ? Color.white
               : contacts.getColourForGroup(); // cm.getColourForGroup(cm.getGroupsFor(column));
-
       // feature still in development - highlight or omit regions hidden in
       // the alignment - currently marks them as red rows
       boolean maskHiddenCols = false;
@@ -171,7 +168,6 @@ public abstract class ContactMapRenderer implements AnnotationRowRendererI
       for (int ht = y2, eht = y2
               - _aa.graphHeight; ht >= eht; ht -= cgeom.pixels_step)
       {
-
         ContactGeometry.contactInterval ci = cgeom.mapFor(y2 - ht,
                 y2 - ht + cgeom.pixels_step);
         // cstart = (int) Math.floor(((double) y2 - ht) * contacts_per_pixel);
@@ -218,7 +214,6 @@ public abstract class ContactMapRenderer implements AnnotationRowRendererI
                   (int) (((float) (col.getBlue() + gpcol.getBlue())) / 2f));
         }
         g.setColor(col);
-
         if (cgeom.pixels_step > 1)
         {
           g.fillRect(x * charWidth, ht, charWidth, 1 + cgeom.pixels_step);