JAL-1640 more properties moved to style bean and rationalisation of layout update...
[jalview.git] / src / jalview / gui / SequenceRenderer.java
index be02717..94a4115 100755 (executable)
@@ -498,7 +498,7 @@ public class SequenceRenderer implements jalview.api.SequenceRenderer
     char s = '~';
 
     // Need to find the sequence position here.
-    if (av.validCharWidth)
+    if (av.isValidCharWidth())
     {
       for (int i = start; i <= end; i++)
       {
@@ -522,7 +522,7 @@ public class SequenceRenderer implements jalview.api.SequenceRenderer
     graphics.setColor(Color.black);
     graphics.fillRect(x1, y1, av.getCharWidth(), av.getCharHeight());
 
-    if (av.validCharWidth)
+    if (av.isValidCharWidth())
     {
       graphics.setColor(Color.white);