From 9cb18cb0f33b8c4cd8e907bf7dea7eea7f1c3394 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 24 Mar 2006 15:35:31 +0000 Subject: [PATCH] fr.transferSettings --- src/jalview/gui/OverviewPanel.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/jalview/gui/OverviewPanel.java b/src/jalview/gui/OverviewPanel.java index a4127bd..d3f513b 100755 --- a/src/jalview/gui/OverviewPanel.java +++ b/src/jalview/gui/OverviewPanel.java @@ -64,11 +64,9 @@ public class OverviewPanel extends JPanel implements Runnable setLayout(null); sr = new SequenceRenderer(av); - sr.renderGaps( false ); + sr.renderGaps = false; sr.forOverview = true; fr = new FeatureRenderer(av); - fr.overview = true; - // scale the initial size of overviewpanel to shape of alignment float initialScale = (float) av.alignment.getWidth() / (float) av.alignment.getHeight(); @@ -262,7 +260,6 @@ public class OverviewPanel extends JPanel implements Runnable } setPreferredSize(new Dimension(width, sequencesHeight + graphHeight)); - // setBoxPosition(); Thread thread = new Thread(this); thread.start(); @@ -282,10 +279,7 @@ public class OverviewPanel extends JPanel implements Runnable if (av.showSequenceFeatures) { - fr.featureGroups = ap.seqPanel.seqCanvas.getFeatureRenderer().featureGroups; - fr.featureColours = ap.seqPanel.seqCanvas.getFeatureRenderer().featureColours; - fr.transparency = ap.seqPanel.seqCanvas.getFeatureRenderer().transparency; - fr.sequenceFeatures = ap.seqPanel.seqCanvas.getFeatureRenderer().sequenceFeatures; + fr.transferSettings( ap.seqPanel.seqCanvas.getFeatureRenderer() ); } int alwidth = av.alignment.getWidth(); -- 1.7.10.2