From: Jim Procter Date: Tue, 27 Oct 2015 12:17:25 +0000 (+0000) Subject: JAL-666 patch JAL-1947 in applet where overview is under sampled when lost of sequenc... X-Git-Tag: Release_2_10_0~138^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9919492cbc1ac36f773b826f38df46a8fe888f46;p=jalview.git JAL-666 patch JAL-1947 in applet where overview is under sampled when lost of sequences are hidden in the viewport (hangover from applet not supporting hidden rows) --- diff --git a/src/jalview/appletgui/OverviewPanel.java b/src/jalview/appletgui/OverviewPanel.java index bc64728..5a1243a 100755 --- a/src/jalview/appletgui/OverviewPanel.java +++ b/src/jalview/appletgui/OverviewPanel.java @@ -265,7 +265,8 @@ public class OverviewPanel extends Panel implements Runnable, { miniMe = null; int alwidth = av.getAlignment().getWidth(); - int alheight = av.getAlignment().getHeight(); + int alheight = av.getAlignment().getHeight() + + av.getAlignment().getHiddenSequences().getSize(); if (av.isShowSequenceFeatures()) {