From: amwaterhouse Date: Fri, 24 Mar 2006 15:35:31 +0000 (+0000) Subject: fr.transferSettings X-Git-Tag: Root_VamJalview_2_07b+~6 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9cb18cb0f33b8c4cd8e907bf7dea7eea7f1c3394;p=jalview.git fr.transferSettings --- 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();