- // if space for more than one sequence row left when annotation is fully displayed then set height to annotation height
- // otherwise, leave at least two lines of sequence shown.
- height = (rheight>av.getCharHeight()) ? height : (-av.getCharHeight() * 3
- + (int) (alignFrame.getHeight() * (1 - sscaling)));
+ // if space for more than one sequence row left when annotation is fully
+ // displayed then set height to annotation height
+ // otherwise, leave at least two lines of sequence shown.
+ height = (rheight > av.getCharHeight()) ? height
+ : (-av.getCharHeight() * 3 + (int) (alignFrame.getHeight() * (1 - sscaling)));