Merge branch 'develop' into features/JAL-2446NCList
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 19 Jul 2017 15:39:11 +0000 (16:39 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 19 Jul 2017 15:39:11 +0000 (16:39 +0100)
Conflicts:
src/jalview/gui/AlignmentPanel.java
src/jalview/gui/SeqCanvas.java
src/jalview/gui/SeqPanel.java

12 files changed:
1  2 
resources/lang/Messages.properties
resources/lang/Messages_es.properties
src/jalview/appletgui/AlignFrame.java
src/jalview/appletgui/SeqCanvas.java
src/jalview/appletgui/SeqPanel.java
src/jalview/gui/AlignFrame.java
src/jalview/gui/AlignmentPanel.java
src/jalview/gui/IdPanel.java
src/jalview/gui/SeqCanvas.java
src/jalview/gui/SeqPanel.java
src/jalview/viewmodel/ViewportRanges.java
test/jalview/viewmodel/ViewportRangesTest.java

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -521,11 -528,9 +521,11 @@@ public class SeqCanvas extends JCompone
      if (av.hasHiddenColumns())
      {
        maxwidth = av.getAlignment().getHiddenColumns()
-               .findColumnPosition(maxwidth) - 1;
+               .findColumnPosition(maxwidth);
      }
  
 +    int annotationHeight = getAnnotationHeight();
 +
      while ((ypos <= canvasHeight) && (startRes < maxwidth))
      {
        endx = startRes + cWidth - 1;
@@@ -215,7 -204,7 +216,7 @@@ public class SeqPanel extends JPanel im
  
        int y = evt.getY();
        y -= hgap;
-       x -= seqCanvas.labelWidthWest;
 -      x = Math.max(0, x - seqCanvas.LABEL_WEST);
++      x = Math.max(0, x - seqCanvas.labelWidthWest);
  
        int cwidth = seqCanvas.getWrappedCanvasWidth(this.getWidth());
        if (cwidth < 1)