Corrects incorrect calls to ViewportRanges.setEndSeq()
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Thu, 18 Apr 2019 17:54:08 +0000 (12:54 -0500)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Thu, 18 Apr 2019 17:54:08 +0000 (12:54 -0500)
commitc0b77a767e71bffd8f55704f9a64f943f559e4f6
tree8a01655d2b64a6b868f26834ebcbbd818bd8c122
parentf649c2b5459960916a831f323ae1ee588331ce1f
Corrects incorrect calls to ViewportRanges.setEndSeq()

This function has the limit of height - 1, not height. Also adds safety
for start < 0 in ViewportRanges.setEndSeq();
src/jalview/appletgui/AlignFrame.java
src/jalview/appletgui/AlignViewport.java
src/jalview/gui/AlignFrame.java
src/jalview/gui/AlignViewport.java
src/jalview/viewmodel/ViewportRanges.java