Make a new FeatureRenderer
authoramwaterhouse <Andrew Waterhouse>
Fri, 11 Aug 2006 08:22:57 +0000 (08:22 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 11 Aug 2006 08:22:57 +0000 (08:22 +0000)
src/jalview/io/HTMLOutput.java

index beb8829..f7a0f3f 100755 (executable)
@@ -32,11 +32,13 @@ public class HTMLOutput
   FeatureRenderer fr;\r
   Color color;\r
 \r
-  public HTMLOutput(AlignViewport av, SequenceRenderer sr, FeatureRenderer fr)\r
+  public HTMLOutput(AlignViewport av, SequenceRenderer sr, FeatureRenderer fr1)\r
   {\r
     this.av = av;\r
     this.sr = sr;\r
-    this.fr = fr;\r
+\r
+    fr = new FeatureRenderer(av);\r
+    fr.transferSettings(fr1);\r
 \r
     JalviewFileChooser chooser = new JalviewFileChooser(jalview.bin.Cache.\r
         getProperty(\r