From 9919492cbc1ac36f773b826f38df46a8fe888f46 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 27 Oct 2015 12:17:25 +0000 Subject: [PATCH] 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) --- src/jalview/appletgui/OverviewPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()) { -- 1.7.10.2