From f9e504a0107cdce5d648b3ea8eb880724b8a84f9 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 9ec6385..88a1617 100755 --- a/src/jalview/appletgui/OverviewPanel.java +++ b/src/jalview/appletgui/OverviewPanel.java @@ -268,7 +268,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