From b812820f8c0e726ef163f88843e8c9b14eb1e0a5 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 27 Oct 2015 12:17:25 +0000 Subject: [PATCH] JAL-666 patch possible buglet 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